Fix spire-controller-manager healthz port

This to align with the spire-controller-manager-configmap.yaml

Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
Marco Franssen
2023-02-27 08:08:17 -08:00
committed by kfox1111
parent e754b3a6c8
commit ba41f04df5
2 changed files with 11 additions and 12 deletions
@@ -15,8 +15,8 @@ data:
{{- include "spire-server.labels" . | nindent 8 }}
metrics:
bindAddress: 0.0.0.0:8082
healthProbe:
bindAddress: 127.0.0.1:8083
health:
healthProbeBindAddress: 0.0.0.0:8083
leaderElection:
leaderElect: true
resourceName: {{ .Release.Name | sha256sum | trunc 8 }}.spiffe.io
@@ -96,21 +96,20 @@ spec:
- name: https
containerPort: 9443
protocol: TCP
- containerPort: 8008
- containerPort: 8083
name: healthz
{{- if (dig "telemetry" "prometheus" "enabled" .Values.telemetry.prometheus.enabled .Values.global) }}
- containerPort: 8082
name: prom2
{{- end }}
# TODO: implement probes
# livenessProbe:
# httpGet:
# path: /
# port: healthz
# readinessProbe:
# httpGet:
# path: /
# port: healthz
livenessProbe:
httpGet:
path: /healthz
port: healthz
readinessProbe:
httpGet:
path: /readyz
port: healthz
resources:
{{- toYaml .Values.controllerManager.resources | nindent 12 }}
volumeMounts: