Skip to content

feat: add automountServiceAccountToken property in Helm chart #1720

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions helm/ingress-azure/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ spec:
securityContext:
runAsUser: 0
{{- end }}
automountServiceAccountToken: {{ .Values.automountServiceAccountToken | default true }}
containers:
- name: {{ .Chart.Name }}
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
Expand Down
4 changes: 3 additions & 1 deletion helm/ingress-azure/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ image:
tag: 1.6.0
pullPolicy: Always

# AGIC will use the service account of the pod to authenticate with the Kubernetes API server.
# When set to false, you will need to handle the volume mounts and permissions for the service account.
automountServiceAccountToken: true

kubernetes:

# Namespace(s) AGIC watches; Leaving this blank watches all namespaces;
# Accepts one or many comma-separated values
watchNamespace:
Expand Down