feat: recover probes for notification service
This commit is contained in:
parent
7b37b57331
commit
88d65a424f
@ -53,53 +53,53 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.notification.resources | nindent 12 }}
|
{{- toYaml .Values.notification.resources | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
# {{- if .Values.notification.probes }}
|
{{- if .Values.notification.probes }}
|
||||||
# {{- if and (.Values.notification.probes.liveness) (eq .Values.notification.probes.liveness.type "httpGet") }}
|
{{- if and (.Values.notification.probes.liveness) (eq .Values.notification.probes.liveness.type "httpGet") }}
|
||||||
# livenessProbe:
|
livenessProbe:
|
||||||
# httpGet:
|
httpGet:
|
||||||
# path: {{ .Values.notification.probes.liveness.config.path }}
|
path: {{ .Values.notification.probes.liveness.config.path }}
|
||||||
# port: {{ .Values.notification.probes.liveness.config.port }}
|
port: {{ .Values.notification.probes.liveness.config.port }}
|
||||||
# {{- if .Values.notification.probes.liveness.config.initialDelaySeconds }}
|
{{- if .Values.notification.probes.liveness.config.initialDelaySeconds }}
|
||||||
# initialDelaySeconds: {{ .Values.notification.probes.liveness.config.initialDelaySeconds }}
|
initialDelaySeconds: {{ .Values.notification.probes.liveness.config.initialDelaySeconds }}
|
||||||
# {{- end }}
|
{{- end }}
|
||||||
# {{- if .Values.notification.probes.liveness.config.periodSeconds }}
|
{{- if .Values.notification.probes.liveness.config.periodSeconds }}
|
||||||
# periodSeconds: {{ .Values.notification.probes.liveness.config.periodSeconds }}
|
periodSeconds: {{ .Values.notification.probes.liveness.config.periodSeconds }}
|
||||||
# {{- end }}
|
{{- end }}
|
||||||
# {{- if .Values.notification.probes.liveness.config.timeoutSeconds }}
|
{{- if .Values.notification.probes.liveness.config.timeoutSeconds }}
|
||||||
# timeoutSeconds: {{ .Values.notification.probes.liveness.config.timeoutSeconds }}
|
timeoutSeconds: {{ .Values.notification.probes.liveness.config.timeoutSeconds }}
|
||||||
# {{- end }}
|
{{- end }}
|
||||||
# {{- if .Values.notification.probes.liveness.config.successThreshold }}
|
{{- if .Values.notification.probes.liveness.config.successThreshold }}
|
||||||
# successThreshold: {{ .Values.notification.probes.liveness.config.successThreshold }}
|
successThreshold: {{ .Values.notification.probes.liveness.config.successThreshold }}
|
||||||
# {{- end }}
|
{{- end }}
|
||||||
# {{- if .Values.notification.probes.liveness.config.failureThreshold }}
|
{{- if .Values.notification.probes.liveness.config.failureThreshold }}
|
||||||
# failureThreshold: {{ .Values.notification.probes.liveness.config.failureThreshold }}
|
failureThreshold: {{ .Values.notification.probes.liveness.config.failureThreshold }}
|
||||||
# {{- end }}
|
{{- end }}
|
||||||
# {{- if .Values.notification.probes.liveness.config.terminationGracePeriodSeconds }}
|
{{- if .Values.notification.probes.liveness.config.terminationGracePeriodSeconds }}
|
||||||
# terminationGracePeriodSeconds: {{ .Values.notification.probes.liveness.config.terminationGracePeriodSeconds }}
|
terminationGracePeriodSeconds: {{ .Values.notification.probes.liveness.config.terminationGracePeriodSeconds }}
|
||||||
# {{- end }}
|
{{- end }}
|
||||||
# {{- end }}
|
{{- end }}
|
||||||
# {{- if and (.Values.notification.probes.readiness) (eq .Values.notification.probes.readiness.type "httpGet") }}
|
{{- if and (.Values.notification.probes.readiness) (eq .Values.notification.probes.readiness.type "httpGet") }}
|
||||||
# readinessProbe:
|
readinessProbe:
|
||||||
# httpGet:
|
httpGet:
|
||||||
# path: {{ .Values.notification.probes.readiness.config.path }}
|
path: {{ .Values.notification.probes.readiness.config.path }}
|
||||||
# port: {{ .Values.notification.probes.readiness.config.port }}
|
port: {{ .Values.notification.probes.readiness.config.port }}
|
||||||
# {{- if .Values.notification.probes.readiness.config.initialDelaySeconds }}
|
{{- if .Values.notification.probes.readiness.config.initialDelaySeconds }}
|
||||||
# initialDelaySeconds: {{ .Values.notification.probes.readiness.config.initialDelaySeconds }}
|
initialDelaySeconds: {{ .Values.notification.probes.readiness.config.initialDelaySeconds }}
|
||||||
# {{- end }}
|
{{- end }}
|
||||||
# {{- if .Values.notification.probes.readiness.config.periodSeconds }}
|
{{- if .Values.notification.probes.readiness.config.periodSeconds }}
|
||||||
# periodSeconds: {{ .Values.notification.probes.readiness.config.periodSeconds }}
|
periodSeconds: {{ .Values.notification.probes.readiness.config.periodSeconds }}
|
||||||
# {{- end }}
|
{{- end }}
|
||||||
# {{- if .Values.notification.probes.readiness.config.timeoutSeconds }}
|
{{- if .Values.notification.probes.readiness.config.timeoutSeconds }}
|
||||||
# timeoutSeconds: {{ .Values.notification.probes.readiness.config.timeoutSeconds }}
|
timeoutSeconds: {{ .Values.notification.probes.readiness.config.timeoutSeconds }}
|
||||||
# {{- end }}
|
{{- end }}
|
||||||
# {{- if .Values.notification.probes.readiness.config.successThreshold }}
|
{{- if .Values.notification.probes.readiness.config.successThreshold }}
|
||||||
# successThreshold: {{ .Values.notification.probes.readiness.config.successThreshold }}
|
successThreshold: {{ .Values.notification.probes.readiness.config.successThreshold }}
|
||||||
# {{- end }}
|
{{- end }}
|
||||||
# {{- if .Values.notification.probes.readiness.config.failureThreshold }}
|
{{- if .Values.notification.probes.readiness.config.failureThreshold }}
|
||||||
# failureThreshold: {{ .Values.notification.probes.readiness.config.failureThreshold }}
|
failureThreshold: {{ .Values.notification.probes.readiness.config.failureThreshold }}
|
||||||
# {{- end }}
|
{{- end }}
|
||||||
# {{- end }}
|
{{- end }}
|
||||||
# {{- end}}
|
{{- end}}
|
||||||
env:
|
env:
|
||||||
{{- range $key, $value := .Values.notification.configs }}
|
{{- range $key, $value := .Values.notification.configs }}
|
||||||
{{- if not (or (eq $key "mongodbUri") (eq $key "rabbitmqPassword") (eq $key "secretKey") (eq $key "sendgridApiKey") (eq $key "twilioAccountSid") (eq $key "twilioAuthToken")) }}
|
{{- if not (or (eq $key "mongodbUri") (eq $key "rabbitmqPassword") (eq $key "secretKey") (eq $key "sendgridApiKey") (eq $key "twilioAccountSid") (eq $key "twilioAuthToken")) }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user