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.
1 parent 557886b commit 80ac4c4Copy full SHA for 80ac4c4
1 file changed
deployments/gpu-operator/templates/validations.yaml
@@ -5,3 +5,7 @@
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 device.Plugin.config.create is set to true" }}
11
+{{- end }}
0 commit comments