diff --git a/charts/snapshot-controller/Chart.yaml b/charts/snapshot-controller/Chart.yaml index bd75f14..2d55bf8 100644 --- a/charts/snapshot-controller/Chart.yaml +++ b/charts/snapshot-controller/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 type: application name: snapshot-controller -version: 3.0.1 +version: 3.0.2 appVersion: "v8.0.1" kubeVersion: ">= 1.25" icon: https://raw.githubusercontent.com/piraeusdatastore/piraeus/master/artwork/sandbox-artwork/icon/color.svg diff --git a/charts/snapshot-controller/templates/deployment_controller.yaml b/charts/snapshot-controller/templates/deployment_controller.yaml index 8dd4151..4fa022a 100644 --- a/charts/snapshot-controller/templates/deployment_controller.yaml +++ b/charts/snapshot-controller/templates/deployment_controller.yaml @@ -44,6 +44,16 @@ spec: - name: http containerPort: 8080 protocol: TCP + readinessProbe: + httpGet: + port: http + path: /healthz/leader-election + scheme: HTTP + livenessProbe: + httpGet: + port: http + path: /healthz/leader-election + scheme: HTTP env: - name: NAMESPACE valueFrom: