We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2d89870 + 0ab3c07 commit 24b9680Copy full SHA for 24b9680
charts/loadtester/templates/rbac.yaml
@@ -51,4 +51,7 @@ metadata:
51
app.kubernetes.io/name: {{ template "loadtester.name" . }}
52
app.kubernetes.io/managed-by: {{ .Release.Service }}
53
app.kubernetes.io/instance: {{ .Release.Name }}
54
+ {{- if .Values.rbac.serviceAccountAnnotations }}
55
+ annotations: {{ tpl (toYaml .Values.rbac.serviceAccountAnnotations) . | nindent 4 }}
56
+ {{- end }}
57
{{- end }}
charts/loadtester/values.yaml
@@ -54,6 +54,8 @@ rbac:
# resources: ["pods"]
# verbs: ["list", "get"]
rules: []
+ # annotations to add to the service account
58
+ serviceAccountAnnotations: {}
59
60
# name of an existing service account to use - if not creating rbac resources
61
serviceAccountName: ""
0 commit comments