diff --git a/charts/wiremock/Chart.yaml b/charts/wiremock/Chart.yaml index d53c64d..4313330 100644 --- a/charts/wiremock/Chart.yaml +++ b/charts/wiremock/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.10.0 +version: 1.11.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/wiremock/templates/deployment.yaml b/charts/wiremock/templates/deployment.yaml index 4c117dd..6beb5c7 100644 --- a/charts/wiremock/templates/deployment.yaml +++ b/charts/wiremock/templates/deployment.yaml @@ -34,6 +34,10 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} serviceAccountName: {{ include "wiremock.serviceAccountName" . }} + {{- with .Values.automountServiceAccountToken }} + automountServiceAccountToken: + {{- toYaml . | nindent 8 }} + {{- end }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: diff --git a/charts/wiremock/values.yaml b/charts/wiremock/values.yaml index 3380a6e..0b765f8 100644 --- a/charts/wiremock/values.yaml +++ b/charts/wiremock/values.yaml @@ -85,6 +85,8 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +automountServiceAccountToken: true + serviceAccount: # Specifies whether a service account should be created create: true