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.???
Yeah they can all be removed - from here:
Helm itself never requires that a particular label be present.