Skip to content

Commit

Permalink
cliImage instead of image
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-hazell committed Dec 13, 2024
1 parent bea1c4b commit 1b5556a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion helm/provider/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ Prefix for provider resources, allows for override with .Values.prefixOverride
{{/*
Generate docker image location for the provider
*/}}
{{- define "kfp-operator-provider.image" -}}
{{- define "kfp-operator-provider.cliImage" -}}
{{ include "kfp-operator-provider.trimmedContainerRegistry" . }}kfp-operator-{{ .Values.provider.type }}-provider:{{ .Chart.AppVersion }}
{{- end }}
2 changes: 1 addition & 1 deletion helm/provider/templates/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: {{ $providerName }}
namespace: {{ include "kfp-operator-provider.namespace" . }}
spec:
cliImage: {{ include "kfp-operator-provider.image" $ }}
cliImage: {{ include "kfp-operator-provider.cliImage" $ }}
executionMode: {{ .Values.provider.executionMode }}
serviceAccount: {{ .Values.provider.serviceAccount.name }}
defaultBeamArgs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
- {{ .Values.provider.name }}
- eventsource-server
- --port=50051
image: {{ include "kfp-operator-provider.image" $ }}
image: {{ include "kfp-operator-provider.cliImage" $ }}
securityContext:
allowPrivilegeEscalation: false
resources:
Expand Down

0 comments on commit 1b5556a

Please sign in to comment.