Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions charts/netdata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,15 @@ true
</td>
<td>The name of the service account to use. If not set and create is true, a name is generated using the fullname template</td>
</tr>
<tr>
<td>serviceAccount.annotations</td>
<td>object</td>
<td><pre lang="json">
{}
</pre>
</td>
<td>Annotations to add to the service account (e.g. an AWS IRSA `eks.amazonaws.com/role-arn`)</td>
</tr>
<tr>
<td>restarter.enabled</td>
<td>bool</td>
Expand Down
4 changes: 4 additions & 0 deletions charts/netdata/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ metadata:
heritage: {{ .Release.Service }}
name: {{ .Values.serviceAccount.name }}
namespace: {{ .Release.Namespace }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end -}}
3 changes: 3 additions & 0 deletions charts/netdata/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ serviceAccount:
# -- The name of the service account to use. If not set and create is true, a name is generated using the fullname template
# @section -- General settings
name: netdata
# -- Annotations to add to the service account (e.g. an AWS IRSA `eks.amazonaws.com/role-arn`)
# @section -- General settings
annotations: {}

restarter:
# -- Install CronJob to update Netdata Pods
Expand Down
Loading