Skip to content

Commit

Permalink
Ensure metrics-cert-dir is set when certificateSecret is set.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Montgomery <mmontg1@gmail.com>
  • Loading branch information
naemono committed Dec 10, 2024
1 parent b267064 commit 42e0d56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/eck-operator/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ data:
{{- end }}
metrics-port: {{ $metricsPort }}
metrics-secure: {{ .Values.config.metrics.secureMode.enabled }}
{{- if .Values.config.metrics.secureMode.tls.certificateSecret }}
metrics-cert-dir: "/tmp/k8s-metrics-server/metrics-certs"
{{- end }}
container-registry: {{ .Values.config.containerRegistry }}
{{- with .Values.config.containerSuffix }}
container-suffix: {{ . }}
Expand Down

0 comments on commit 42e0d56

Please sign in to comment.