feat: add support for custom annotations to the created service account

This commit is contained in:
Dağlar Berk Erdem 2024-09-24 11:27:42 +03:00
parent 18da292366
commit 8dc926bf1b

View File

@ -4,6 +4,10 @@ kind: ServiceAccount
metadata:
name: {{ include "clearmlAgent.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
{{- with .Values.agentk8sglue.serviceAccountAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1