Files
devops-infra-helm-charts-gcp/helm-templates/loki-distributed/templates/tokengen/serviceaccount-tokengen.yaml
T
2026-08-26 03:39:42 +05:30

19 lines
561 B
YAML

{{ if and .Values.enterprise.tokengen.enabled .Values.enterprise.enabled }}
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ template "enterprise-logs.tokengenFullname" . }}
namespace: {{ $.Release.Namespace }}
labels:
{{- include "enterprise-logs.tokengenLabels" . | nindent 4 }}
{{- with .Values.enterprise.tokengen.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
annotations:
{{- with .Values.enterprise.tokengen.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
"helm.sh/hook": post-install
{{- end }}