Skip to content

feat(annotations): allow user-provided service annotations#249

Merged
andrewazores merged 1 commit intocryostatio:mainfrom
tthvo:svc-annotation
May 29, 2025
Merged

feat(annotations): allow user-provided service annotations#249
andrewazores merged 1 commit intocryostatio:mainfrom
tthvo:svc-annotation

Conversation

@tthvo
Copy link
Member

@tthvo tthvo commented May 29, 2025

Part of #123. This change focuses on the Service (especially the one for main deployment).

Descriptions

In some cases, the user require additional annotations on the Services generated by the chart. For example, in AWS, a LoadBalancer Service might require annotations:

service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: ip
service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing
service.beta.kubernetes.io/aws-load-balancer-type: external

Thus, this change makes it possible without manual user interventions.

Notes

I didn't add any changes under grafana.service field because it is not used anywhere (and should probably be removed).

In some cases, the user require additional annotations on the Services
generated by the chart. For example, in AWS, a LoadBalancer Service
might require annotations:

service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: ip
service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing
service.beta.kubernetes.io/aws-load-balancer-type: external

Thus, this change makes it possible without manual user interventions.
@tthvo tthvo added feat New feature or request safe-to-test labels May 29, 2025
@tthvo tthvo requested a review from a team May 29, 2025 02:45
@andrewazores andrewazores merged commit 5101c3c into cryostatio:main May 29, 2025
14 of 17 checks passed
@tthvo tthvo deleted the svc-annotation branch May 29, 2025 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants