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

Apply validator resources to init containers

Open Shivkumar13 opened this issue 5 months ago • 0 comments

Fixes #702.

This change applies the existing spec.validator.resources settings to validator init containers as well as the main validator container. The affected init containers run the validator image for driver, toolkit, CUDA, and plugin checks, so using the existing validator resource field keeps the API surface unchanged while making those init containers configurable.

Validation:

  • go test ./controllers -run TestTransformValidatorComponentWithResources -count=1
  • go test ./controllers -run TestTransformValidator -count=1
  • go test ./controllers -run TestTransformSandboxValidator -count=1

Shivkumar13 avatar Jun 17 '26 17:06 Shivkumar13