Helm render error with Agocd and devicePlugin when emtpy default profile
Describe the bug
one or more synchronization tasks completed unsuccessfully, reason: ClusterPolicy.nvidia.com "cluster-policy" is invalid: spec.devicePlugin.config.default: Invalid value: "null": spec.devicePlugin.config.default in body must be of type string: "null"
devicePlugin:
config:
create: true
name: deviceplugin-config
default: "" # <- setting empty or "null" default profile for GPU slicing will render as null and break the validation ArgoCD applies
To Reproduce in the Helm values file create any devicePlugin config, but set default profile to an empty string
Expected behavior
not setting default profile or setting it to empty string it should render as an empty string not null for the clusterpolicy to be valid
Environment (please provide the following information):
- GPU Operator Version: [e.g. v25.10.1]
I'll take this issue if that's fine, probably just missing a quote in the ClusterPolicy template