Allowing Custom Labels in SVC Templates #597
Reference in New Issue
Block a user
No description provided.
Delete Branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description of the change
The change allows users of this chart to specify custom labels for the HTTP & SSH Services that get deployed. They are optional and if given are added to the standard list of labels.
Benefits
Certain use cases require labelling services to be able to select them in other places. Specifiying them directly in the helm chart avoids having to label by hand everytime.
Concrete Use Case Example: Cilium Layer 2 Announcements require selecting services to announce via labels (see docs). I would like to add a label to the SSH service, but not the HTTP Service (which is handled via an ingress).
Possible drawbacks
I don't see any, using this feature is optional :)
Checklist
values.yaml
and added to theREADME.md
using readme-generator-for-helmREADME.md
@remogeissbuehler Thanks for contributing! LGTM overall, thanks also for adding unit tests directly. Only a linting issue left.
Sorry about that! Should be fixed. Thanks for the swift feedback @pat-s :)
LGTM, I'll wait with merge in case @justusbunsi has some more thoughts about it. Should likely be good for the next release.
LGTM. Thanks for the addition. Appreciate your use case in the PR description.