fix enabling notification probes
Signed-off-by: nueavv <nuguni@kakao.com>
This commit is contained in:
parent
37a7e35190
commit
57eaf896b7
1 changed files with 4 additions and 0 deletions
|
@ -107,6 +107,7 @@ spec:
|
||||||
- name: metrics
|
- name: metrics
|
||||||
containerPort: {{ .Values.notifications.containerPorts.metrics }}
|
containerPort: {{ .Values.notifications.containerPorts.metrics }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
{{- if .Values.notifications.livenessProbe.enabled }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
tcpSocket:
|
tcpSocket:
|
||||||
port: metrics
|
port: metrics
|
||||||
|
@ -115,6 +116,8 @@ spec:
|
||||||
timeoutSeconds: {{ .Values.notifications.livenessProbe.timeoutSeconds }}
|
timeoutSeconds: {{ .Values.notifications.livenessProbe.timeoutSeconds }}
|
||||||
successThreshold: {{ .Values.notifications.livenessProbe.successThreshold }}
|
successThreshold: {{ .Values.notifications.livenessProbe.successThreshold }}
|
||||||
failureThreshold: {{ .Values.notifications.livenessProbe.failureThreshold }}
|
failureThreshold: {{ .Values.notifications.livenessProbe.failureThreshold }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.notifications.readinessProbe.enabled }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
tcpSocket:
|
tcpSocket:
|
||||||
port: metrics
|
port: metrics
|
||||||
|
@ -123,6 +126,7 @@ spec:
|
||||||
timeoutSeconds: {{ .Values.notifications.readinessProbe.timeoutSeconds }}
|
timeoutSeconds: {{ .Values.notifications.readinessProbe.timeoutSeconds }}
|
||||||
successThreshold: {{ .Values.notifications.readinessProbe.successThreshold }}
|
successThreshold: {{ .Values.notifications.readinessProbe.successThreshold }}
|
||||||
failureThreshold: {{ .Values.notifications.readinessProbe.failureThreshold }}
|
failureThreshold: {{ .Values.notifications.readinessProbe.failureThreshold }}
|
||||||
|
{{- end }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.notifications.resources | nindent 12 }}
|
{{- toYaml .Values.notifications.resources | nindent 12 }}
|
||||||
{{- with .Values.notifications.containerSecurityContext }}
|
{{- with .Values.notifications.containerSecurityContext }}
|
||||||
|
|
Loading…
Reference in a new issue