nodeSelector在模板里如果给了默认值,那么即使在部署时修改了,在负载的yaml中还是会存在 #4170
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/medium
sig/apps
Categorizes an issue or PR as relevant to SIG Apps.
Describe the bug
nodeSelector在模板里如果给了默认值,那么即使在部署时修改了,在负载的yaml中还是会存在
For UI issues please also add a screenshot that shows the issue.
Versions used(KubeSphere/Kubernetes)
KubeSphere: v3.2.1
Kubernetes: 1.21
Environment
How many nodes and their hardware configuration:
3 masters: 8cpu/16g
To Reproduce
Steps to reproduce the behavior:
nodeSelector:
label1: "true"
label2: "true"
Expected behavior
nodeSelector应该以我更新的为最新值,替换掉默认值
Existed merge
这个merge看样是通过put而不是patch方法解决的,但在v3.2.1上还是存在,没合入?
https://github.com/kubesphere/console/pull/661/files
The text was updated successfully, but these errors were encountered: