File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
fleetconfig-controller/charts/fleetconfig-controller/templates/ocm Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 33{{- $labels := include "chart.labels" . }}
44{{- $annotations := include "chart.annotations" . }}
55{{- range .Values.fleetConfig.hub.addOnConfigs }}
6- {{ $versionedName := printf "%s-%s" .name . version }}
6+ {{- $versionedName := printf "%s-%s" .name (default "v0.0.1" . version) }}
77apiVersion : v1
88kind : ConfigMap
99metadata :
1010 name : fleet-addon-{{ $versionedName }}
1111 namespace : {{ $namespace }}
1212 annotations :
1313 {{- $annotations | nindent 4 }}
14- helm.sh/hook : pre-install,pre-upgrade
1514 labels :
16- {{- $labels | nindent 4 }}
15+ {{- $labels | nindent 4 }}
1716data :
1817 {{- if or (hasPrefix "http://" .manifests) (hasPrefix "https://" .manifests) }}
1918 manifestsURL : {{ .manifests }}
2322 {{- end }}
2423---
2524{{- end }}
26- {{- end }}
25+ {{- end }}
You can’t perform that action at this time.
0 commit comments