Skip to content

Commit 2f8651b

Browse files
committed
Merge branch 'update_crd_role' into 'release-23.03'
Update gpu-operator role to include create/update role for CRD upgrade handling See merge request nvidia/kubernetes/gpu-operator!683
2 parents 669d344 + 9010c89 commit 2f8651b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deployments/gpu-operator/templates/role.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@ rules:
186186
- get
187187
- list
188188
- watch
189-
{{- if or (.Values.operator.cleanupCRD) (.Values.operator.upgradeCRD) }}
190-
- delete
191-
- create
192189
- update
193190
- patch
191+
- create
192+
{{- if .Values.operator.cleanupCRD }}
193+
- delete
194194
{{- end }}

0 commit comments

Comments
 (0)