mirror of
https://github.com/bitnami/charts.git
synced 2026-03-15 06:47:24 +08:00
* [bitnami/logstash] Adding service account config for workload identity integration Signed-off-by: Luiz Ferreira <luiz.ferreira@idwall.co> * [bitnami/logstash] fixing README metadata Signed-off-by: Luiz Ferreira <luiz.ferreira@idwall.co> * [bitnami/logstash] fix readme-generator-for-helm error Signed-off-by: Luiz Ferreira <luiz.ferreira@idwall.co> * [bitnami/logstash] Update bitnami/logstash/templates/serviceaccount.yaml Co-authored-by: Carlos Rodríguez Hernández <carrodher1179@gmail.com> Signed-off-by: Luiz Ferreira <luiz.ferreira@idwall.co> * [bitnami/logstash] Update bitnami/logstash/values.yaml Co-authored-by: Carlos Rodríguez Hernández <carrodher1179@gmail.com> Signed-off-by: Luiz Ferreira <luiz.ferreira@idwall.co> * [bitnami/logstash] solving indentation problem Signed-off-by: Luiz Ferreira <luiz.ferreira@idwall.co> * [bitnami/logstash] Update components versions Signed-off-by: Bitnami Containers <containers@bitnami.com> Co-authored-by: Luiz Ferreira <luiz.ferreira@idwall.co> Co-authored-by: Carlos Rodríguez Hernández <carrodher1179@gmail.com> Co-authored-by: Bitnami Containers <containers@bitnami.com>
21 lines
964 B
YAML
21 lines
964 B
YAML
{{- if .Values.serviceAccount.create -}}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ template "logstash.serviceAccountName" . }}
|
|
namespace: {{ .Release.Namespace | quote }}
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
{{- if .Values.commonLabels }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if or .Values.commonAnnotations .Values.serviceAccount.annotations }}
|
|
annotations:
|
|
{{- if .Values.serviceAccount.annotations }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.serviceAccount.annotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.commonAnnotations }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
|
|
{{- end -}} |