diff --git a/charts/base-cluster/templates/monitoring/kube-prometheus-stack/oauth-proxy.yaml b/charts/base-cluster/templates/monitoring/kube-prometheus-stack/oauth-proxy.yaml index ef99c03c9..42a47c6a3 100644 --- a/charts/base-cluster/templates/monitoring/kube-prometheus-stack/oauth-proxy.yaml +++ b/charts/base-cluster/templates/monitoring/kube-prometheus-stack/oauth-proxy.yaml @@ -35,10 +35,9 @@ spec: ingress: enabled: true hostname: {{ include (printf "base-cluster.%s.host" $host) $ }} - extraTls: |- - - hosts: - - {{ "{{ .Values.ingress.hostname }}" }} - secretName: {{ include "base-cluster.certificate" (dict "name" $host "customDomain" $ingress.customDomain "context" $) }} + tls: true + certManager: true + existingSecretName: {{ include "base-cluster.certificate" (dict "name" $host "customDomain" $ingress.customDomain "context" $) | quote }} replicaCount: 2 pdb: create: true