Skip to content

Commit

Permalink
fix(base-cluster/oauth-proxy): use correct secretName for certificate (
Browse files Browse the repository at this point in the history
  • Loading branch information
cwrau authored Feb 19, 2024
1 parent c15653d commit eda417c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
{{- $host := $backend.host -}}
{{- $port := $backend.port -}}
{{- $targetServiceName := printf "%s-%s" (include "common.names.dependency.fullname" (dict "chartName" "kube-prometheus-stack" "chartValues" (dict) "context" (dict "Release" (dict "Name" "kube-prometheus-stack")))) $host -}}
{{- $ingress := include "base-cluster.monitoring.ingress.config" (dict "name" $host "context" $) | fromYaml -}}
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
Expand All @@ -35,7 +36,7 @@ spec:
extraTls: |-
- hosts:
- {{ "{{ .Values.ingress.hostname }}" }}
secretName: cluster-wildcard-certificate
secretName: {{ include "base-cluster.certificate" (dict "name" $host "customDomain" $ingress.customDomain "context" $) }}
replicaCount: 2
pdb:
create: true
Expand Down

0 comments on commit eda417c

Please sign in to comment.