We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 557886b + a35e5f1 commit f54bd42Copy full SHA for f54bd42
1 file changed
deployments/gpu-operator/templates/validations.yaml
@@ -5,3 +5,11 @@
5
{{- if and (eq .Values.cdi.nriPluginEnabled true) (eq .Values.toolkit.enabled false) }}
6
{{ fail "the NRI Plugin cannot be enabled when the Container Toolkit is disabled" }}
7
{{- end }}
8
+
9
+{{- if and (.Values.devicePlugin.config.create) (empty .Values.devicePlugin.config.data) }}
10
+{{ fail "devicePlugin.config.data cannot be empty when devicePlugin.config.create is set to true" }}
11
+{{- end }}
12
13
+{{- if and (.Values.devicePlugin.config.create) (empty .Values.devicePlugin.config.name) }}
14
+{{ fail "devicePlugin.config.name cannot be empty when devicePlugin.config.create is set to true" }}
15
0 commit comments