[BUG]: Remove extra fields from the driver specs when using minimal sample #1594
Labels
area/csm-operator
type/bug
Something isn't working. This is the default label associated with a bug issue.
Milestone
Bug Description
Manifest file used to deploy CSM
Status of the Pod
Logs
Screenshots
No response
Additional Environment Information
No response
Steps to Reproduce
Deploy the driver with the simple manifest in description
Expected Behavior
The request is to ensure no additional fields are populated in the spec unless explicitly provided by the user.
Details:
For example, consider the following YAML applied to the cluster:
When running
kubectl get csm powerflex -n powerflex -o yaml
, the resulting output includes additional fields in the spec, as shown below:These additional fields (e.g., common.envs, initContainers, replicas, controller, etc.) should not appear in the spec unless explicitly defined in the input YAML.
The expected behaviour is that the spec should only include the fields provided in the input YAML, such as:
CSM Driver(s)
All drivers, tested with PowerStore and PowerFlex
Installation Type
No response
Container Storage Modules Enabled
No response
Container Orchestrator
NA
Operating System
NA
The text was updated successfully, but these errors were encountered: