Skip to content

Add extra label config to add labels to all ALBs and Certificates#10

Open
dergeberl wants to merge 3 commits into
mainfrom
addExtraLabels
Open

Add extra label config to add labels to all ALBs and Certificates#10
dergeberl wants to merge 3 commits into
mainfrom
addExtraLabels

Conversation

@dergeberl

Copy link
Copy Markdown
Member

How to categorize this PR?

/kind enhancement
/cc @stackitcloud/ske-infrastructure

What this PR does / why we need it:
This PR adds the possibility to add extra labels to the ALB and Certificates. This is analog to the NLBs on the cloud-provider-stackit.

@ske-prow
ske-prow Bot requested a review from a team July 21, 2026 09:07
@ske-prow ske-prow Bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/enhancement Enhancement, improvement, extension labels Jul 21, 2026
@ske-prow

ske-prow Bot commented Jul 21, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign breuerfelix for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@ske-prow ske-prow Bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 21, 2026
@dergeberl dergeberl changed the title WIP: Add extra label option WIP: Add extra label conig Jul 21, 2026
@dergeberl dergeberl changed the title WIP: Add extra label conig Add extra label config to add labels to all ALBs and Certificates Jul 22, 2026
@ske-prow ske-prow Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 22, 2026
Comment thread pkg/controller/ingress/spec/worktree.go Outdated
Comment thread pkg/controller/ingress/ingressclass_controller.go Outdated
…verwrtiing is not possible; Use Const for the ingress-class-uid label
@ske-prow ske-prow Bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 22, 2026
@dergeberl

Copy link
Copy Markdown
Member Author

FYI: I also use now the LabelIngressClassUID cost for the label key. This is safe as we dont use that ID currently in code for ingressclasses.

Comment thread pkg/controller/ingress/spec/worktree.go Outdated
ephemeralAddress = new(true)
}

labels := map[string]string{

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this a breaking change (and is it intentional)? The old code used the bare string ingress-class-uid as the label key. The new code replaces it with the constant LabelIngressClassUID, which expands to alb-ingress-controller-ingress-class-uid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement Enhancement, improvement, extension size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants