Reviewed-on: https://gitea.arcodange.duckdns.org/arcodange-org/tools/pulls/1 Co-authored-by: Gabriel Radureau <arcodange@gmail.com> Co-committed-by: Gabriel Radureau <arcodange@gmail.com>
13 lines
288 B
YAML
13 lines
288 B
YAML
{{- define "tool.helm-chart-config.tpl" -}}
|
|
{{- $name := .Release.Name -}}
|
|
{{ with ( .Values.values ) }}
|
|
apiVersion: helm.cattle.io/v1
|
|
kind: HelmChartConfig
|
|
metadata:
|
|
name: {{ $name }}
|
|
namespace: tools
|
|
spec:
|
|
valuesContent: |-
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end -}}
|
|
{{- end -}} |