can I remove all the helm generated labels and use my own labels?

7/2/2019

When I do

helm create my-app

I get default labels like below in generated templates (deployment, service, ingress yaml files):

app.kubernetes.io/name: {{ include "my-app.name" . }}
helm.sh/chart: {{ include "my-app.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}

Can I remove all of them and just use my own labels, will it affect helm features like rollback etc.???

-- Vatan Soni
emacs-helm
google-kubernetes-engine
kubernetes
kubernetes-helm
kubernetes-ingress

1 Answer

7/2/2019

Yeah they can all be removed - from here:

Helm itself never requires that a particular label be present.

-- dippynark
Source: StackOverflow