Update templates/helm.yaml
This commit is contained in:
parent
b6792730ed
commit
db68178fb2
@ -1,14 +1,14 @@
|
|||||||
{{ $repository := .Values.subchartData.repository }}
|
{{ $repository := .Values.subchartData.repository }}
|
||||||
{{- if hasPrefix "oci://" .Values.subchartData.repository }}
|
{{- if hasPrefix "oci://" .Values.subchartData.repository }}
|
||||||
{{- $repository = printf "%s/%s" .Values.subchartData.repository .Chart.Name }}
|
{{- $repository = printf "%s/%s" .Values.subchartData.repository .Values.name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
apiVersion: helm.cattle.io/v1
|
apiVersion: helm.cattle.io/v1
|
||||||
kind: HelmChart
|
kind: HelmChart
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Chart.Name }}
|
name: {{ .Values.name }}
|
||||||
namespace: {{ .Values.namespace }}
|
namespace: {{ .Values.namespace }}
|
||||||
spec:
|
spec:
|
||||||
chart: {{ .Chart.Name }}
|
chart: {{ .Values.name }}
|
||||||
repo: {{ $repository }}
|
repo: {{ $repository }}
|
||||||
targetNamespace: {{ .namespace }}
|
targetNamespace: {{ .namespace }}
|
||||||
version: {{ .Values.subchartData.version }}
|
version: {{ .Values.subchartData.version }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user