helm: hardcode probes and strategy, remove from values.yaml

This commit is contained in:
Naeel
2026-04-13 06:46:25 +03:00
parent c86f865be7
commit 9272be5a20
2 changed files with 9 additions and 29 deletions
@@ -10,12 +10,10 @@ metadata:
spec:
replicas: {{ .Values.replicaCount }}
strategy:
type: {{ .Values.strategy.type }}
{{- if eq .Values.strategy.type "RollingUpdate" }}
type: RollingUpdate
rollingUpdate:
maxSurge: {{ .Values.strategy.rollingUpdate.maxSurge }}
maxUnavailable: {{ .Values.strategy.rollingUpdate.maxUnavailable }}
{{- end }}
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
{{- include "shared-sqs.selectorLabels" . | nindent 6 }}
@@ -79,16 +77,16 @@ spec:
{{- toYaml .Values.resources | nindent 10 }}
livenessProbe:
httpGet:
path: {{ .Values.probes.liveness.path }}
path: /health
port: 4100
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
initialDelaySeconds: 5
periodSeconds: 10
readinessProbe:
httpGet:
path: {{ .Values.probes.readiness.path }}
path: /health
port: 4100
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}
initialDelaySeconds: 3
periodSeconds: 5
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}