helmzoo/helmule/examples/extensions/flux2/crd-serviceaccount.yaml
Nikolai Rodionov aabcb21f3b
Helmule MVP
Basic functionality is there, helmule can mirror helm chart with small
modifications
2024-02-11 08:29:22 +01:00

16 lines
503 B
YAML

{{- if .Values.crds.install }}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "crdInstall" . }}
namespace: {{ .Release.Namespace }}
annotations:
# create hook dependencies in the right order
"helm.sh/hook-weight": "-4"
{{- include "crdInstallAnnotations" . | nindent 4 }}
labels:
app.kubernetes.io/component: {{ include "crdInstall" . | quote }}
{{- include "labels.selector" . | nindent 4 }}
role: {{ include "crdInstallSelector" . | quote }}
{{- end }}