Skip to content

Commit 249b09d

Browse files
authored
fix: Use same security context & priority class for helm-repository pod (#871)
The helm-repository should be a system critical pod as if it is unavaialable then no clusters will be creatable.
1 parent b796e7d commit 249b09d

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

charts/cluster-api-runtime-extensions-nutanix/templates/helm-repository.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,17 @@ spec:
5757
- name: certs-vol
5858
mountPath: "/certs"
5959
readOnly: true
60-
env:
60+
livenessProbe:
61+
tcpSocket:
62+
port: serve
63+
readinessProbe:
64+
tcpSocket:
65+
port: serve
66+
priorityClassName: {{ .Values.priorityClassName }}
67+
securityContext:
68+
{{ with .Values.securityContext }}
69+
{{- toYaml . | nindent 8}}
70+
{{- end }}
6171
volumes:
6272
- name: certs-vol
6373
secret:

0 commit comments

Comments
 (0)