Skip to content

Custom Annotations for GRPC Service resource #3531

@zimmertr

Description

@zimmertr

Is your feature request related to a problem?

The optional Service resource that is created for handling ingress GRPC traffic does not expose a helm template to provide custom Annotations. This should be possible as other software often uses Annotations to dynamically configure features. For example, DataDog's Service Checks: https://docs.datadoghq.com/containers/cluster_agent/endpointschecks/?tab=datadogoperator#configuration-from-kubernetes-service-annotations

Related helm chart

argo-cd: https://github.com/argoproj/argo-helm/blob/main/charts/argo-cd/templates/argocd-server/aws/service.yaml#L6

Describe the solution you'd like

  {{- with .Values.server.ingressServiceGrpcOrSomeOtherName.annotations }}
  annotations:
    {{- range $key, $value := . }}
    {{ $key }}: {{ $value | quote }}
    {{- end }}
  {{- end }}

Describe alternatives you've considered

Hm... Kustomize patch?

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions