-
Notifications
You must be signed in to change notification settings - Fork 580
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
Renaming kubernetes.io/cluster tag to use EKS cluster name #3573
Conversation
@knabben: This issue is currently awaiting triage. If CAPA/CAPI contributors determines this is a relevant issue, they will accept it by applying the The 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 think you want to change this to use KubernetesClusterName as well https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/main/pkg/cloud/services/eks/cluster.go#L365 |
At this point, if we do this change the ELB will stop to work again since EKS is not using the CAPI name in the CCM configuration. |
Yes, the function I sent you should use This should address the inconsistencies described in #3572. |
/test |
@knabben: The
The following commands are available to trigger optional jobs:
Use
In response to this:
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. |
/test pull-cluster-api-provider-aws-e2e |
/lgtm |
@sedefsavas - yes lets cherry pick this for 1.5. /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: richardcase 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 |
/cherry-pick release-1.5 |
@richardcase: once the present PR merges, I will cherry-pick it on top of release-1.5 in a new PR and assign it to you. In response to this:
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. |
@richardcase: new pull request created: #3591 In response to this:
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. |
Ah, nice, this will make MY PR smaller now since you added the mock for the IAM one for create cluster. :) |
Hey @knabben! It looks like this is breaking the upgrade flow test. Would you mind taking a look at this error:
You can inspect the CAPA controller log here: https://storage.googleapis.com/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_cluster-api-provider-aws/3568/pull-cluster-api-provider-aws-e2e-eks/1547298125415190528/artifacts/clusters/bootstrap/controllers/capa-controller-manager/capa-controller-manager-6df746c6c6-dbn2l/manager.log Further logs:
This looks suspicious: |
Never mind. I think it's my fault, I haven't merged in this PR apparently in another PR I was running. 🤦 I thought I did, but apparently I didn't. |
So it's still the same problem even after merging this PR. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
This PR changes the tag kubernetes.io/cluster/ to have the same EKS cluster name as the other objects, instead of the CAPI cluster name.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #3572
Special notes for your reviewer:
Checklist: