Skip to content

🐛 Use different names for controllers watching AWSCluster objects#5313

Merged
k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
AndiDog:controller-identities
Jan 22, 2025
Merged

🐛 Use different names for controllers watching AWSCluster objects#5313
k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
AndiDog:controller-identities

Conversation

@AndiDog
Copy link
Copy Markdown
Contributor

@AndiDog AndiDog commented Jan 22, 2025

What type of PR is this?

This fixes startup errors

"unable to create controller" err="controller with name awscluster already exists. Controller names must be unique to avoid multiple controllers reporting to the same metric" logger="setup" controller="AWSControllerIdentity"

which I believe come from using latest cluster-api or controller-runtime which I had for locally running E2E tests. Since this might hit us when bumping CAPI or other components, I thought we can already fix it now.

/kind bug

What this PR does / why we need it:

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 #

Special notes for your reviewer:

Checklist:

  • squashed commits
  • includes documentation
  • includes emoji in title
  • adds unit tests
  • adds or updates e2e tests

Release note:

Use different names for controllers watching `AWSCluster` objects

@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. release-note Denotes a PR that will be considered when it comes time to generate release notes. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jan 22, 2025
@k8s-ci-robot k8s-ci-robot added needs-priority size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 22, 2025
Copy link
Copy Markdown
Contributor

@fiunchinho fiunchinho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 22, 2025
@richardcase
Copy link
Copy Markdown
Member

/approve

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[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

Details 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 Jan 22, 2025
@AndiDog
Copy link
Copy Markdown
Contributor Author

AndiDog commented Jan 22, 2025

Hmm, works for me locally. Trying again.

/test pull-cluster-api-provider-aws-test

@k8s-ci-robot k8s-ci-robot merged commit 7b263a4 into kubernetes-sigs:main Jan 22, 2025
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. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-priority release-note Denotes a PR that will be considered when it comes time to generate release notes. 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.

4 participants