diff --git a/charts/flyte-core/templates/_helpers.tpl b/charts/flyte-core/templates/_helpers.tpl index 98a42655e3..b4361a1e47 100755 --- a/charts/flyte-core/templates/_helpers.tpl +++ b/charts/flyte-core/templates/_helpers.tpl @@ -102,28 +102,6 @@ app.kubernetes.io/managed-by: {{ .Release.Service }} {{- end }} {{- end -}} -{{- define "flyteagent.name" -}} -flyteagent -{{- end -}} - -{{- define "flyteagent.selectorLabels" -}} -app.kubernetes.io/name: {{ template "flyteagent.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{- define "flyteagent.labels" -}} -{{ include "flyteagent.selectorLabels" . }} -helm.sh/chart: {{ include "flyte.chart" . }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{- define "flyteagent.podLabels" -}} -{{ include "flyteagent.labels" . }} -{{- with .Values.flyteagent.podLabels }} -{{ toYaml . }} -{{- end }} -{{- end -}} - {{- define "flytepropeller.name" -}} flytepropeller {{- end -}} diff --git a/charts/flyteagent/templates/_helpers.tpl b/charts/flyteagent/templates/_helpers.tpl index 40411a61b9..c8ed80055b 100755 --- a/charts/flyteagent/templates/_helpers.tpl +++ b/charts/flyteagent/templates/_helpers.tpl @@ -31,7 +31,7 @@ app.kubernetes.io/managed-by: {{ .Release.Service }} {{- define "flyteagent.podLabels" -}} {{ include "flyteagent.labels" . }} {{- with .Values.podLabels }} -{{- toYaml . }} +{{ toYaml . }} {{- end }} {{- end -}}