gpu-operator icon indicating copy to clipboard operation
gpu-operator copied to clipboard

Helm render error with Agocd and devicePlugin when emtpy default profile

Open kogsox opened this issue 1 week ago • 1 comments

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]

kogsox avatar Dec 15 '25 14:12 kogsox

I'll take this issue if that's fine, probably just missing a quote in the ClusterPolicy template

NoOverflow avatar Dec 16 '25 16:12 NoOverflow