From 972f0fb6668ed9a5ccd626f952dffaf354ad2f32 Mon Sep 17 00:00:00 2001 From: xeniape Date: Thu, 1 Oct 2026 11:38:24 +0200 Subject: [PATCH] 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 }}