Skip to content

Commit dcc38d5

Browse files
committed
fix(chart): add image prefix v for default appVersion
1 parent 91ccb09 commit dcc38d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/crossplane-function-js/templates/function.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
labels:
66
{{- include "xfuncjs.labels" . | nindent 4 }}
77
spec:
8-
package: {{ .Values.function.package.repository }}/{{ .Values.function.package.name }}:{{ default .Chart.AppVersion .Values.function.package.tag }}
8+
package: {{ .Values.function.package.repository }}/{{ .Values.function.package.name }}:{{ if .Values.function.package.tag }}{{ .Values.function.package.tag }}{{ else }}v{{ .Chart.AppVersion }}{{ end }}
99
packagePullPolicy: {{ .Values.function.pullPolicy }}
1010
runtimeConfigRef:
1111
apiVersion: pkg.crossplane.io/v1beta1

0 commit comments

Comments
 (0)