Closed EinarArnason closed 2 years ago
@EinarArnason the error you are showing is due to the file generated by this template: https://github.com/oauth2-proxy/manifests/blob/main/helm/oauth2-proxy/templates/configmap.yaml
So from these lines: https://github.com/oauth2-proxy/manifests/blob/main/helm/oauth2-proxy/values.yaml#L34-L36
According to the documentation, upstream
is not a valid option with alpha config.
Try removing this default option from your values. https://oauth2-proxy.github.io/oauth2-proxy/docs/configuration/alpha-config/#removed-options
Ref: https://github.com/oauth2-proxy/oauth2-proxy/blob/master/main_test.go#L252-L256
I just removed the - --config=/etc/oauth2_proxy/oauth2_proxy.conf
line from the deployment config and then it worked fine. Was the alpha config not supposed to replace the original config?
Was the alpha config not supposed to replace the original config?
@EinarArnason can this issue then be closed?
I'm installing via helm using Keycloak with this config:
The log from the pod outputs:
Seems to me it is trying to use both configurations, or am I missing something?