Skip to content

Commit 4af6f5c

Browse files
committed
feat: Add runtimeClassName to crossplane helm chart
Signed-off-by: adrienfuss <[email protected]>
1 parent f5d7f90 commit 4af6f5c

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

cluster/charts/crossplane/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ spec:
4747
{{- if .Values.priorityClassName }}
4848
priorityClassName: {{ .Values.priorityClassName | quote }}
4949
{{- end }}
50+
{{- if .Values.runtimeClassName }}
51+
runtimeClassName: {{ .Values.runtimeClassName | quote }}
52+
{{- end }}
5053
{{- if not .Values.serviceAccount.create }}
5154
serviceAccountName: {{ .Values.serviceAccount.name }}
5255
{{- else }}

cluster/charts/crossplane/templates/rbac-manager-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ spec:
4848
priorityClassName: {{ .Values.priorityClassName | quote }}
4949
{{- end }}
5050
serviceAccountName: rbac-manager
51+
{{- if .Values.runtimeClassName }}
52+
runtimeClassName: {{ .Values.runtimeClassName | quote }}
53+
{{- end }}
5154
initContainers:
5255
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "v%s" .Chart.AppVersion) }}"
5356
args:

cluster/charts/crossplane/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ packageManager:
112112
# -- The PriorityClass name to apply to the Crossplane and RBAC Manager pods.
113113
priorityClassName: ""
114114

115+
# -- The runtimeClassName name to apply to the Crossplane and RBAC Manager pods.
116+
runtimeClassName: ""
117+
115118
resourcesCrossplane:
116119
limits:
117120
# -- CPU resource limits for the Crossplane pod.

0 commit comments

Comments
 (0)