diff --git a/charts/patchmon/Chart.yaml b/charts/patchmon/Chart.yaml index e3e4d26..6ea40bb 100644 --- a/charts/patchmon/Chart.yaml +++ b/charts/patchmon/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: patchmon description: PatchMon (backend + frontend) with optional Gateway API, Postgres, and Valkey type: application -version: 0.2.8 +version: 0.2.9 appVersion: "1.4.0" maintainers: diff --git a/charts/patchmon/templates/deployment-backend.yaml b/charts/patchmon/templates/deployment-backend.yaml index 4c64705..325a9c9 100644 --- a/charts/patchmon/templates/deployment-backend.yaml +++ b/charts/patchmon/templates/deployment-backend.yaml @@ -42,9 +42,9 @@ spec: containerPort: 3001 protocol: TCP livenessProbe: - {{- toYaml .Values.livenessProbe | nindent 12 }} + {{- toYaml .Values.livenessProbe.backend | nindent 12 }} readinessProbe: - {{- toYaml .Values.readinessProbe | nindent 12 }} + {{- toYaml .Values.readinessProbe.backend | nindent 12 }} envFrom: - configMapRef: name: {{ include "patchmon.fullname" . }}-backend diff --git a/charts/patchmon/templates/deployment-frontend.yaml b/charts/patchmon/templates/deployment-frontend.yaml index e55298c..d46e851 100644 --- a/charts/patchmon/templates/deployment-frontend.yaml +++ b/charts/patchmon/templates/deployment-frontend.yaml @@ -41,9 +41,9 @@ spec: containerPort: 3000 protocol: TCP livenessProbe: - {{- toYaml .Values.livenessProbe | nindent 12 }} + {{- toYaml .Values.livenessProbe.frontend | nindent 12 }} readinessProbe: - {{- toYaml .Values.readinessProbe | nindent 12 }} + {{- toYaml .Values.readinessProbe.frontend | nindent 12 }} env: - name: BACKEND_HOST value: {{ include "patchmon.fullname" . }}-backend diff --git a/charts/patchmon/values.yaml b/charts/patchmon/values.yaml index 5f867ff..9e86324 100644 --- a/charts/patchmon/values.yaml +++ b/charts/patchmon/values.yaml @@ -222,21 +222,39 @@ resources: # memory: 128Mi livenessProbe: - httpGet: - path: /health - port: http - initialDelaySeconds: 10 - periodSeconds: 5 - timeoutSeconds: 3 - failureThreshold: 3 + backend: + httpGet: + path: /api/v1/ws/status + port: http + initialDelaySeconds: 10 + periodSeconds: 5 + timeoutSeconds: 3 + failureThreshold: 3 + frontend: + httpGet: + path: /health + port: http + initialDelaySeconds: 10 + periodSeconds: 5 + timeoutSeconds: 3 + failureThreshold: 3 readinessProbe: - httpGet: - path: /health - port: http - initialDelaySeconds: 10 - periodSeconds: 5 - timeoutSeconds: 3 - failureThreshold: 3 + backend: + httpGet: + path: /api/v1/ws/status + port: http + initialDelaySeconds: 10 + periodSeconds: 5 + timeoutSeconds: 3 + failureThreshold: 3 + frontend: + httpGet: + path: /health + port: http + initialDelaySeconds: 10 + periodSeconds: 5 + timeoutSeconds: 3 + failureThreshold: 3 pdb: create: false