The fields in section .spec.nonProductionOptions are reset by the Web Console
Summary
After updating (without changing anything) an SGCluster custom resource the fields in section .spec.nonProductionOptions
other than .spec.nonProductionOptions.disableClusterPodAntiAffinity
are removed by the Web Console
Current Behaviour
If we have a .spec.nonProductionOptions
like the following:
disableClusterPodAntiAffinity : true
disableClusterResourceRequirements: true
disablePatorniResourceRequirements: false
After an update without changing any field the section is updated as follow:
disableClusterResourceRequirements: true
disablePatorniResourceRequirements: false
Steps to reproduce
- Create an SGCluster setting
.spec.nonProductionOptions.disableClusterResourceRequirements
totrue
- Update the SGCluster without changing any field from the Web Console
Expected Behaviour
After an update without changing any field the section .spec.nonProductionOptions
is not changed.
Environment
- StackGres version: 1.3.1
- Kubernetes version: ?
- Cloud provider or hardware configuration: ?