Skip to content

Commit

Permalink
fix rendering of flyte-core and flyteagent charts (#5048)
Browse files Browse the repository at this point in the history
* fix rendering of flyte-core and flyteagent charts

Signed-off-by: Patrick Brogan <[email protected]>

* update to kubeflow spark-operator repo fixes #5055

Signed-off-by: Patrick Brogan <[email protected]>

---------

Signed-off-by: Patrick Brogan <[email protected]>
  • Loading branch information
pbrogan12 authored Mar 26, 2024
1 parent d68047a commit cf7c638
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
22 changes: 0 additions & 22 deletions charts/flyte-core/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}
Expand Down
2 changes: 1 addition & 1 deletion charts/flyteagent/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- define "flyteagent.podLabels" -}}
{{ include "flyteagent.labels" . }}
{{- with .Values.podLabels }}
{{- toYaml . }}
{{ toYaml . }}
{{- end }}
{{- end -}}

Expand Down

0 comments on commit cf7c638

Please sign in to comment.