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:
@@ -15,8 +15,8 @@ data:
|
|||||||
{{- include "spire-server.labels" . | nindent 8 }}
|
{{- include "spire-server.labels" . | nindent 8 }}
|
||||||
metrics:
|
metrics:
|
||||||
bindAddress: 0.0.0.0:8082
|
bindAddress: 0.0.0.0:8082
|
||||||
healthProbe:
|
health:
|
||||||
bindAddress: 127.0.0.1:8083
|
healthProbeBindAddress: 0.0.0.0:8083
|
||||||
leaderElection:
|
leaderElection:
|
||||||
leaderElect: true
|
leaderElect: true
|
||||||
resourceName: {{ .Release.Name | sha256sum | trunc 8 }}.spiffe.io
|
resourceName: {{ .Release.Name | sha256sum | trunc 8 }}.spiffe.io
|
||||||
|
|||||||
@@ -96,21 +96,20 @@ spec:
|
|||||||
- name: https
|
- name: https
|
||||||
containerPort: 9443
|
containerPort: 9443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- containerPort: 8008
|
- containerPort: 8083
|
||||||
name: healthz
|
name: healthz
|
||||||
{{- if (dig "telemetry" "prometheus" "enabled" .Values.telemetry.prometheus.enabled .Values.global) }}
|
{{- if (dig "telemetry" "prometheus" "enabled" .Values.telemetry.prometheus.enabled .Values.global) }}
|
||||||
- containerPort: 8082
|
- containerPort: 8082
|
||||||
name: prom2
|
name: prom2
|
||||||
{{- end }}
|
{{- end }}
|
||||||
# TODO: implement probes
|
livenessProbe:
|
||||||
# livenessProbe:
|
httpGet:
|
||||||
# httpGet:
|
path: /healthz
|
||||||
# path: /
|
port: healthz
|
||||||
# port: healthz
|
readinessProbe:
|
||||||
# readinessProbe:
|
httpGet:
|
||||||
# httpGet:
|
path: /readyz
|
||||||
# path: /
|
port: healthz
|
||||||
# port: healthz
|
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.controllerManager.resources | nindent 12 }}
|
{{- toYaml .Values.controllerManager.resources | nindent 12 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|||||||
Reference in New Issue
Block a user