-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not include tags when searching existing volumes in OpenStack #14923
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hakman The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@zetaab Consider removing that tag altogether. It is pretty pointless. |
Seems docs generation failed. Not sure if possible to force it to re-run. |
…-upstream-release-1.26 Automated cherry pick of #14923: Do not include tags when searching existing volumes in
@hakman force pushed the commit again but you need add lgtm again |
/lgtm |
…-of-#14923-upstream-release-1.26 Automated cherry pick of kubernetes#14923: Do not include tags when searching existing volumes in
fixes #14922
if we include tags when searching volumes, it basically means that we cannot modify tags at all.
After this PR the
kops update cluster
output is: (it will add tagk8s.io/role/control-plane: 1
to all volumes)so instead of creating new volumes it will update existing volume tags. Volume tag update is handled already in https://github.com/kubernetes/kops/blob/master/upup/pkg/fi/cloudup/openstacktasks/volume.go#L151-L158 and I verified that this works like should.