-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Apply cloud labels into ELB #5593
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
34730f2
to
30df44d
Compare
30df44d
to
c0e6cc3
Compare
c0e6cc3
to
b52c945
Compare
/assign @chrislovecnm |
/ok-to-test |
/test pull-kops-e2e-kubernetes-aws |
/cc @mikesplain |
Thanks for the fix @wingyplus, looks good :) /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: KashifSaadat, wingyplus 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 |
@KashifSaadat Thanks :) |
This is a dangerous one to add as i've just encounter. Beforehand the cloud tags were not added but now they are and expected in the 'find' of the fi tasks .. This cause's a number of resources which was not presently tagged (vpc, subnets, routing tables etc) by a previous kops binary not to be found and be marked as creating on the kops apply. Also we use dynamic tags (i.e. gitsha's and release version) which would never work ... Thankfully it was in testing .. @mikesplain @justinsb .. |
So this had to be reverted - if you're still interested in pursuing it, I think you need to plumb through the additional tags here: kops/pkg/model/awsmodel/api_loadbalancer.go Line 117 in c55b032
i.e. specifically in the ELB, not generally at the cloud level. The problem is that tags at the cloud level act as a filter. Another option would be to have tags at the cloud level that are added, but don't act as a filter - that would be the spirit of what you've done in this PR. |
Fixes #2048