Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.???

like image 862
Vatan Soni Avatar asked Jan 24 '26 10:01

Vatan Soni


1 Answers

Yeah they can all be removed - from here:

Helm itself never requires that a particular label be present.

like image 177
dippynark Avatar answered Jan 27 '26 01:01

dippynark