diff --git a/helm-charts/infisical/templates/backend-deployment.yaml b/helm-charts/infisical/templates/backend-deployment.yaml index 6f4286055..7a366d390 100644 --- a/helm-charts/infisical/templates/backend-deployment.yaml +++ b/helm-charts/infisical/templates/backend-deployment.yaml @@ -26,6 +26,12 @@ spec: - name: {{ template "infisical.name" . }}-{{ .Values.backend.name }} image: "{{ .Values.backend.image.repository }}:{{ .Values.backend.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.backend.image.pullPolicy }} + readinessProbe: + httpGet: + path: /api/status + port: 4000 + initialDelaySeconds: 10 + periodSeconds: 10 ports: - containerPort: 4000 {{- if .Values.backend.kubeSecretRef }} diff --git a/helm-charts/infisical/templates/frontend-deployment.yaml b/helm-charts/infisical/templates/frontend-deployment.yaml index 0527a63dd..d396e5628 100644 --- a/helm-charts/infisical/templates/frontend-deployment.yaml +++ b/helm-charts/infisical/templates/frontend-deployment.yaml @@ -26,6 +26,12 @@ spec: - name: {{ template "infisical.name" . }}-{{ .Values.frontend.name }} image: "{{ .Values.frontend.image.repository }}:{{ .Values.frontend.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.frontend.image.pullPolicy }} + readinessProbe: + httpGet: + path: / + port: 3000 + initialDelaySeconds: 10 + periodSeconds: 10 {{- if .Values.frontend.kubeSecretRef }} envFrom: - secretRef: