Closed NonneTrapuE closed 2 weeks ago
@NonneTrapuE to clarify it works when resources in yaml config but not when supplied through arguments?
I wanted to debug my yaml config file (gogatekeeper.yaml) with supplied args command line, but i have this error message.
Edit : Have the same error message when i want to define groups in args command line
[error] invalid resource 'uri=/#/s/*|groups=XXX', invalid identifier, should be roles, uri or methods
thanks for reporting! will look at it
Update : with gogatekeeper.yaml config file, args are okay
XXXXXXXXXXX info protecting resource {"resource": "uri: /#/s/*, white-listed"}
@NonneTrapuE plese remove those single quotes from resource parameter, example here: https://github.com/gogatekeeper/gatekeeper/blob/2cdd9956b64dd6cae1b7c06e52f71d028d920c16/kube/reverse.yml#L38
@NonneTrapuE plese remove those single quotes from resource parameter, example here:
Hi ! Thanks for quick response, i will test !
Hi !
I encounter a problem with optionals args resources. I can't use "white-listed", i have an error :
My Yaml file :
While in doc, you can use this resources args.
Any idea ?
Thanks !