I am trying to find a way to use the values set by zalando.org/skipper=filter in the Skipper Ingress object and reference that value in the Daemonset object.
For example, if I used the following filter chain in a Ingress object:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: demo
annotations:
zalando.org/skipper-filter: setQuery("abc", "xyz") -> oauthGrant()
And i am trying to reference the values set in the setQuery in the args tag in the Daemonset like
- "-oauth2-client-secret=$(request.query.abc)"
I want the client secret to be have a value set in the filter section of the ingress object. I've tried bunch of other filters but nothing has worked till now. Or maybe I haven't understood how filter works. Anyone know anything about this?