Skip to content

Commit 660d65e

Browse files
authored
feat: Add startup probe to operator deployment (#654)
* feat: Add startup probe to operator deployment * Adjust periodSeconds in probe
1 parent 0be51a1 commit 660d65e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎template/deploy/helm/[[operator]]/templates/deployment.yaml.j2‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,14 @@ spec:
9595
- name: OPA_BUNDLE_BUILDER_CLUSTERROLE
9696
value: {{ include "{[ operator.name }].fullname" . }}-opa-bundle-builder-clusterrole
9797
{[% endif %}]
98+
startupProbe:
99+
httpGet:
100+
path: /ready
101+
port: 8443
102+
scheme: HTTPS
103+
periodSeconds: 3
104+
failureThreshold: 30
105+
timeoutSeconds: 3
98106
{{- with .Values.nodeSelector }}
99107
nodeSelector:
100108
{{- toYaml . | nindent 8 }}

0 commit comments

Comments
 (0)