mirror of
https://github.com/wahyd4/helm-charts.git
synced 2026-08-09 04:26:02 +10:00
[prometheus-adapter] Allow specifying service account annotations (#1029)
* Allow specifying service account annotations Signed-off-by: Chris Sng <chrissng@users.noreply.github.com> * minor version bump Signed-off-by: Chris Sng <chrissng@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: prometheus-adapter
|
||||
version: 2.13.0
|
||||
version: 2.14.0
|
||||
appVersion: v0.8.4
|
||||
description: A Helm chart for k8s prometheus adapter
|
||||
home: https://github.com/DirectXMan12/k8s-prometheus-adapter
|
||||
|
||||
@@ -9,4 +9,8 @@ metadata:
|
||||
heritage: {{ .Release.Service }}
|
||||
name: {{ template "k8s-prometheus-adapter.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
{{- if .Values.serviceAccount.annotations }}
|
||||
annotations:
|
||||
{{ toYaml .Values.serviceAccount.annotations | indent 4 }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
@@ -39,6 +39,11 @@ serviceAccount:
|
||||
# The name of the service account to use.
|
||||
# If not set and create is true, a name is generated using the fullname template
|
||||
name:
|
||||
# ServiceAccount annotations.
|
||||
# Use case: AWS EKS IAM roles for service accounts
|
||||
# ref: https://docs.aws.amazon.com/eks/latest/userguide/specify-service-account-role.html
|
||||
annotations: {}
|
||||
|
||||
# Custom DNS configuration to be added to prometheus-adapter pods
|
||||
dnsConfig: {}
|
||||
# nameservers:
|
||||
|
||||
Reference in New Issue
Block a user