Describe the bug
When I updated matrixAuthenticationService.nodeSelector, then helm upgrade xxxx.
The final value of matrixAuthenticationService.nodeSelector is a merge of the new and old settings, rather than a replacement.
This caused the deployment of matrix-authentication-service to fail.
To Reproduce
- Edit
~/ess-config-values/hostnames.yaml
matrixAuthenticationService:
nodeSelector:
kubernetes.io/hostname: master
helm upgrade xxxxx, this succeeded.
- Edit
~/ess-config-values/hostnames.yaml again
matrixAuthenticationService:
nodeSelector:
kubernetes.io/hostname: worker
helm upgrade xxxxx failed because of no nodes match the nodeSelector(kubernetes.io/hostname: worker+kubernetes.io/hostname: master)
Expected behavior
The updated new matrixAuthenticationService.nodeSelector should completely override the old one.
ess-helm
Version: matrix-stack-25.6.2
Describe the bug
When I updated matrixAuthenticationService.nodeSelector, then
helm upgrade xxxx.The final value of matrixAuthenticationService.nodeSelector is a merge of the new and old settings, rather than a replacement.
This caused the deployment of matrix-authentication-service to fail.
To Reproduce
~/ess-config-values/hostnames.yamlhelm upgrade xxxxx, this succeeded.~/ess-config-values/hostnames.yamlagainhelm upgrade xxxxxfailed because ofno nodes match the nodeSelector(kubernetes.io/hostname: worker+kubernetes.io/hostname: master)Expected behavior
The updated new matrixAuthenticationService.nodeSelector should completely override the old one.
ess-helm
Version: matrix-stack-25.6.2