k8s icon indicating copy to clipboard operation
k8s copied to clipboard

add possibility to set global annotations

Open luis-alen opened this issue 1 year ago • 2 comments
trafficstars

What motivated this proposal?

so we can globally express additional information related to the chart deployed resources.

What is the proposed change?

add possibility to set global annotations as it's possible with labels with global.labels

Who benefits from this change?

No response

What alternatives have you evaluated?

it's currently possible to add annotations on a per-resource basis, but being able to set it globally is potentially useful.

luis-alen avatar Apr 29 '24 20:04 luis-alen

This would be quite valuable even if just exposed for services. For example to control using an Internal LB rather than External for ServiceType: LoadBalancer in GKE:

networking.gke.io/load-balancer-type: "Internal" https://cloud.google.com/kubernetes-engine/docs/concepts/service-load-balancer

mccormickt avatar Aug 15 '24 01:08 mccormickt

Via the nats slack:

service:
  merge:
    metadata:
      annotations:
        loadbalancer.openstack.org/keep-floatingip: "true"

till avatar May 28 '25 18:05 till