mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-02-15 17:02:55 +00:00
* fix: removed harcoded apiVersion * feat: add support for custom annotations to the created service account * feat: added service account annotations * chore: updated README.md * chore: chart version bump * Revert "fix: removed harcoded apiVersion" This reverts commit18da292366
. * Revert "feat: add support for custom annotations to the created service account" This reverts commit8dc926bf1b
. --------- Co-authored-by: Dağlar Berk Erdem <daglar@codeway.co>
27 lines
807 B
YAML
27 lines
807 B
YAML
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ .Values.apiserver.serviceAccountName }}-apiserver
|
|
{{- if .Values.apiserver.serviceAccountAnnotations }}
|
|
annotations:
|
|
{{- toYaml .Values.apiserver.serviceAccountAnnotations | nindent 4 }}
|
|
{{- end }}
|
|
---
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ .Values.fileserver.serviceAccountName }}-fileserver
|
|
{{- if .Values.fileserver.serviceAccountAnnotations }}
|
|
annotations:
|
|
{{- toYaml .Values.fileserver.serviceAccountAnnotations | nindent 4 }}
|
|
{{- end }}
|
|
---
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ .Values.webserver.serviceAccountName }}-webserver
|
|
{{- if .Values.webserver.serviceAccountAnnotations }}
|
|
annotations:
|
|
{{- toYaml .Values.webserver.serviceAccountAnnotations | nindent 4 }}
|
|
{{- end }}
|