Created
August 9, 2020 00:28
-
-
Save Yitaek/896715f5d8f0576d7c14e5c230897e7a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
authenticate: | |
idp: | |
provider: "google" | |
clientID: "<CLIENT_ID>.apps.googleusercontent.com" | |
clientSecret: "<CLIENT_SECRET>" | |
config: | |
sharedSecret: random-secret | |
cookieSecret: super-secret | |
rootDomain: mydomain.example.com | |
generateTLS: false | |
insecure: true | |
policy: | |
# this route is directly proxied by pomerium & injects the authorization header | |
- from: https://k8s-dashboard.mydomain.example.com | |
to: https://kubernetes-dashboard.kubernetes-dashboard | |
allowed_domains: | |
- example.com | |
tls_skip_verify: true # dashboard uses self-signed certificates in its default configuration | |
set_request_headers: | |
Authorization: "Bearer <EKS-admin-token>" | |
ingress: | |
annotations: | |
cert-manager.io/cluster-issuer: letsencrypt-prod | |
traefik.ingress.kubernetes.io/router.entrypoints: websecure | |
traefik.ingress.kubernetes.io/router.tls: "true" | |
secretName: wildcard-cert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment