diff --git a/openunison-k8s-login-oidc/templates/jetstack.yaml b/openunison-k8s-login-oidc/templates/jetstack.yaml index bcf3687..d91ddc9 100644 --- a/openunison-k8s-login-oidc/templates/jetstack.yaml +++ b/openunison-k8s-login-oidc/templates/jetstack.yaml @@ -87,7 +87,7 @@ spec: {{ end }} - name: kube-oidc-proxy-tls secret: - secretName: unison-tls + secretName: {{ .Values.impersonation.oidc_tls_secret_name }} items: - key: tls.crt path: crt.pem diff --git a/openunison-k8s-login-oidc/templates/openunison.yaml b/openunison-k8s-login-oidc/templates/openunison.yaml index 6652a87..078b8a0 100644 --- a/openunison-k8s-login-oidc/templates/openunison.yaml +++ b/openunison-k8s-login-oidc/templates/openunison.yaml @@ -190,7 +190,7 @@ spec: service_name: kube-oidc-proxy-{{ .Release.Name }} {{ end }} {{ end }} - secret_name: ou-tls-certificate + secret_name: {{ .Values.network.ingress_certificate }} ingress_type: {{ .Values.network.ingress_type | default "nginx" }} {{ $ingress_annotations := .Values.network.ingress_annotations }} {{ $length := len $ingress_annotations }} diff --git a/openunison-k8s-login-oidc/values.yaml b/openunison-k8s-login-oidc/values.yaml index 228eca1..4498240 100644 --- a/openunison-k8s-login-oidc/values.yaml +++ b/openunison-k8s-login-oidc/values.yaml @@ -65,6 +65,7 @@ impersonation: jetstack_oidc_proxy_image: quay.io/jetstack/kube-oidc-proxy:v0.3.0 explicit_certificate_trust: true ca_secret_name: ou-tls-certificate + oidc_tls_secret_name: unison-tls network_policies: enabled: false