Skip to content

Instantly share code, notes, and snippets.

@philippn
Created October 13, 2022 10:09
Show Gist options
  • Save philippn/c414cac19880b3391009750caea3e0c0 to your computer and use it in GitHub Desktop.
Save philippn/c414cac19880b3391009750caea3e0c0 to your computer and use it in GitHub Desktop.
Values for OAuth2 Proxy helm chart in combination with AGIC
config:
clientID: xxx
clientSecret: yyy
cookieSecret: zzz
configFile: |-
email_domains = [ "example.com" ]
upstreams = [ "http://upstream-my-service.namespace.svc.cluster.local:8080" ]
cookie_secure = "false"
cookie_domains= [ "" ]
whitelist_domains = [ "my-service.cluster.example.com" ]
reverse_proxy = "true"
silence_ping_logging = "true"
# Auth0 provider
redirect_url = "https://my-service.cluster.example.com/oauth2/callback"
oidc_issuer_url = "https://xxx.auth0.com/"
provider = "oidc"
provider_display_name = "Auth0"
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: azure/application-gateway
cert-manager.io/cluster-issuer: letsencrypt-prod
appgw.ingress.kubernetes.io/ssl-redirect: "true"
hosts:
- my-service.cluster.example.com
tls:
- secretName: my-service-tls
hosts:
- my-service.cluster.example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment