Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions deployments/gpu-operator/templates/clusterpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ spec:
rollingUpdate:
maxUnavailable: {{ .Values.daemonsets.rollingUpdate.maxUnavailable | quote }}
{{- end }}
{{- if .Values.daemonsets.podSecurityContext }}
podSecurityContext: {{ toYaml .Values.daemonsets.podSecurityContext | nindent 6 }}
{{- end }}
validator:
{{- if .Values.validator.repository }}
repository: {{ .Values.validator.repository }}
Expand Down
8 changes: 8 additions & 0 deletions deployments/gpu-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ daemonsets:
# maximum number of nodes to simultaneously apply pod updates on.
# can be specified either as number or percentage of nodes. Default 1.
maxUnavailable: "1"
# Optional: pod-level security context applied to ALL operand DaemonSets.
# Example (SELinux):
# podSecurityContext:
# seLinuxOptions:
# type: spc_t
# level: s0
# Note: This must be rendered into ClusterPolicy by the Helm template.
# Per-operand overrides are not supported yet.

validator:
repository: nvcr.io/nvidia
Expand Down