kubeview icon indicating copy to clipboard operation
kubeview copied to clipboard

[Helm] Support service annotations

Open KIVagant opened this issue 3 years ago • 0 comments

Please add support for custom object annotations.

# templates/service.yaml

apiVersion: v1
kind: Service
metadata:
  name: {{ include "kubeview.fullname" . }}
{{- if .Values.service.annotations }}
  annotations:
{{ toYaml .Values.service.annotations | indent 4 }}
{{- end }}
...
# values.yaml

service:
  # annotations:
  #   service.beta.kubernetes.io/aws-load-balancer-internal: "0.0.0.0/0"
  type: ClusterIP     # ← as per https://github.com/benc-uk/kubeview/issues/71

Same improvement can be added to other Yaml-resources.

Additionally, it would be nice to support extra labels.

KIVagant avatar Jun 15 '21 17:06 KIVagant