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

chore: Cleanup deprecated label approach #1213

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marc1404
Copy link
Member

@marc1404 marc1404 commented Feb 5, 2025

How to categorize this PR?

/area dev-productivity
/kind cleanup
/platform aws

What this PR does / why we need it:

This PR cleans up the deprecated label approach for defining network policies.
The first of these labels was introduced here:
9fbf711

See the corresponding PR for more context:
gardener/gardener#7907

Which issue(s) this PR fixes:

n.a.

Special notes for your reviewer:

Uncertainty:
I can find the annotation that replaces the deprecated label networking.resources.gardener.cloud/to-csi-snapshot-validation-tcp-443=allowed:

networking.resources.gardener.cloud/from-all-webhook-targets-allowed-ports: '[{"protocol":"TCP","port":443}]'

I cannot find the same for networking.resources.gardener.cloud/to-aws-load-balancer-controller-webhook-service-tcp-9443=allowed. Do we need to add this port to one of the existing annotations?

Release note:

NONE

@marc1404 marc1404 requested review from a team as code owners February 5, 2025 16:22
@gardener-robot gardener-robot added area/dev-productivity Developer productivity related (how to improve development) kind/cleanup Something that is not needed anymore and can be cleaned up platform/aws Amazon web services platform/infrastructure needs/review Needs review size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) labels Feb 5, 2025
@gardener-robot-ci-3 gardener-robot-ci-3 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Feb 5, 2025
@gardener-robot-ci-2 gardener-robot-ci-2 added needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Feb 5, 2025
@@ -94,10 +93,6 @@ func (e *ensurer) EnsureKubeAPIServerDeployment(ctx context.Context, gctx gconte
template := &newObj.Spec.Template
ps := &template.Spec

// TODO: This label approach is deprecated and no longer needed in the future. Remove it as soon as gardener/gardener@v1.75 has been released.
Copy link
Member Author

Choose a reason for hiding this comment

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

The latest gardener/gardener release at the time of writing is v1.111.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dev-productivity Developer productivity related (how to improve development) kind/cleanup Something that is not needed anymore and can be cleaned up needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/review Needs review platform/aws Amazon web services platform/infrastructure size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants