Skip to content

Commit

Permalink
fix: no helm prefix
Browse files Browse the repository at this point in the history
Signed-off-by: Raphaël Pinson <raphael.pinson@camptocamp.com>
  • Loading branch information
raphink committed Jan 6, 2022
1 parent dca6328 commit 64cb638
Showing 1 changed file with 38 additions and 39 deletions.
77 changes: 38 additions & 39 deletions terraform/values.tmpl.yaml
Original file line number Diff line number Diff line change
@@ -1,39 +1,38 @@
keycloak:
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: "${cluster_issuer}"
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
ingress.kubernetes.io/ssl-redirect: "true"
kubernetes.io/ingress.allow-http: "false"
hosts:
- host: "${keycloak.domain}"
paths:
- /
- host: "keycloak.apps.${base_domain}"
paths:
- /
tls:
- secretName: keycloak-tls
hosts:
- "${keycloak.domain}"
- "keycloak.apps.${base_domain}"
service:
annotations:
traefik.ingress.kubernetes.io/service.serversscheme: https
keycloakClient:
client:
clientId: "${replace(oidc.client_id, "\"", "\\\"")}"
secret: "${replace(oidc.client_secret, "\"", "\\\"")}"
redirectUris:
- "https://argocd.apps.${base_domain}/auth/callback"
- "https://${argocd.domain}/auth/callback"
keycloakUsers:
%{ for username, infos in keycloak.user_map }
${username}:
name: ${lookup(infos, "name")}
first_name: ${lookup(infos, "first_name")}
password: ${lookup(infos, "password")}
email: ${lookup(infos, "email")}
%{ endfor }
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: "${cluster_issuer}"
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
ingress.kubernetes.io/ssl-redirect: "true"
kubernetes.io/ingress.allow-http: "false"
hosts:
- host: "${keycloak.domain}"
paths:
- /
- host: "keycloak.apps.${base_domain}"
paths:
- /
tls:
- secretName: keycloak-tls
hosts:
- "${keycloak.domain}"
- "keycloak.apps.${base_domain}"
service:
annotations:
traefik.ingress.kubernetes.io/service.serversscheme: https
keycloakClient:
client:
clientId: "${replace(oidc.client_id, "\"", "\\\"")}"
secret: "${replace(oidc.client_secret, "\"", "\\\"")}"
redirectUris:
- "https://argocd.apps.${base_domain}/auth/callback"
- "https://${argocd.domain}/auth/callback"
keycloakUsers:
%{ for username, infos in keycloak.user_map }
${username}:
name: ${lookup(infos, "name")}
first_name: ${lookup(infos, "first_name")}
password: ${lookup(infos, "password")}
email: ${lookup(infos, "email")}
%{ endfor }

0 comments on commit 64cb638

Please sign in to comment.