Skip to content

Commit

Permalink
Merge pull request #26 from gdud/master
Browse files Browse the repository at this point in the history
Add option to disable or enable automountServiceAccountToken
  • Loading branch information
mjwloch authored Feb 8, 2024
2 parents aed3df5 + e453c3c commit ae7909a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/platform-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "1.1"
description: Platform service chart
name: platform-service
version: 1.2.3
version: 1.2.4
1 change: 1 addition & 0 deletions charts/platform-service/templates/service-account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ metadata:
{{ include "appLabels" . | trim | indent 4 }}
{{- end}}
{{- end}}
automountServiceAccountToken: {{ .Values.serviceAccount.automountToken }}
3 changes: 3 additions & 0 deletions charts/platform-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ serviceAccount:
# will still be prefixed by the release prefix if that option is enabled.
# If not set and create is true, a name is generated from the app
name:
# Indicates whether pods running as this service
# account should have an API token automatically mounted.
automountToken: false

gateway:
# map virtual service to a gateway expose this service
Expand Down

0 comments on commit ae7909a

Please sign in to comment.