Skip to content
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

Merged
merged 1 commit into from
Aug 18, 2018

Conversation

wingyplus
Copy link
Contributor

Fixes #2048

@k8s-ci-robot
Copy link
Contributor

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.

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 10, 2018
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Aug 10, 2018
@wingyplus
Copy link
Contributor Author

/assign @chrislovecnm

@mikesplain
Copy link
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 13, 2018
@wingyplus
Copy link
Contributor Author

/test pull-kops-e2e-kubernetes-aws

@wingyplus
Copy link
Contributor Author

/cc @mikesplain

@KashifSaadat
Copy link
Contributor

Thanks for the fix @wingyplus, looks good :)

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 18, 2018
@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 18, 2018
@k8s-ci-robot k8s-ci-robot merged commit c61fb53 into kubernetes:master Aug 18, 2018
@wingyplus
Copy link
Contributor Author

@KashifSaadat Thanks :)

@wingyplus wingyplus deleted the elb_cloud_labels branch August 18, 2018 10:16
@gambol99
Copy link
Contributor

gambol99 commented Sep 25, 2018

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 ..

@justinsb
Copy link
Member

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:

elb = &awstasks.LoadBalancer{

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants