helm-implementation #3

Merged
ties merged 5 commits from helm-implementation into main 2024-08-29 13:24:03 +00:00
Showing only changes of commit db68178fb2 - Show all commits

View File

@ -1,14 +1,14 @@
{{ $repository := .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 }}
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
name: {{ .Chart.Name }}
name: {{ .Values.name }}
namespace: {{ .Values.namespace }}
spec:
chart: {{ .Chart.Name }}
chart: {{ .Values.name }}
repo: {{ $repository }}
targetNamespace: {{ .namespace }}
version: {{ .Values.subchartData.version }}