From 972f0fb6668ed9a5ccd626f952dffaf354ad2f32 Mon Sep 17 00:00:00 2001 From: xeniape Date: Thu, 1 Oct 2026 11:38:24 +0200 Subject: [PATCH 1/2] feat: Add startup probe to operator deployment --- .../deploy/helm/[[operator]]/templates/deployment.yaml.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/template/deploy/helm/[[operator]]/templates/deployment.yaml.j2 b/template/deploy/helm/[[operator]]/templates/deployment.yaml.j2 index fec22b49..d54427a6 100644 --- a/template/deploy/helm/[[operator]]/templates/deployment.yaml.j2 +++ b/template/deploy/helm/[[operator]]/templates/deployment.yaml.j2 @@ -95,6 +95,14 @@ spec: - name: OPA_BUNDLE_BUILDER_CLUSTERROLE value: {{ include "{[ operator.name }].fullname" . }}-opa-bundle-builder-clusterrole {[% endif %}] + startupProbe: + httpGet: + path: /ready + port: 8443 + scheme: HTTPS + periodSeconds: 2 + failureThreshold: 30 + timeoutSeconds: 3 {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} From 7e8bee74bf80715eef26304ec43b0b60bdcc6344 Mon Sep 17 00:00:00 2001 From: xeniape Date: Mon, 5 Oct 2026 15:57:40 +0200 Subject: [PATCH 2/2] Adjust periodSeconds in probe --- template/deploy/helm/[[operator]]/templates/deployment.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/deploy/helm/[[operator]]/templates/deployment.yaml.j2 b/template/deploy/helm/[[operator]]/templates/deployment.yaml.j2 index d54427a6..288cfcae 100644 --- a/template/deploy/helm/[[operator]]/templates/deployment.yaml.j2 +++ b/template/deploy/helm/[[operator]]/templates/deployment.yaml.j2 @@ -100,7 +100,7 @@ spec: path: /ready port: 8443 scheme: HTTPS - periodSeconds: 2 + periodSeconds: 3 failureThreshold: 30 timeoutSeconds: 3 {{- with .Values.nodeSelector }}