mirror of
https://github.com/YuzuZensai/netbird-kubernetes-operator.git
synced 2026-09-13 18:59:09 +00:00
Goreleaser was causing issues when helm chart action created releases for packaged helm chart, this PR replaces goreleaser with a much simpler build and push model, and returns packaged helm charts to normal.
14 lines
440 B
YAML
14 lines
440 B
YAML
{{- if .Values.operator.serviceAccount.create -}}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ include "kubernetes-operator.serviceAccountName" . }}
|
|
labels:
|
|
{{- include "kubernetes-operator.labels" . | nindent 4 }}
|
|
{{- with .Values.operator.serviceAccount.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
automountServiceAccountToken: {{ .Values.operator.serviceAccount.automount }}
|
|
{{- end }}
|