From 2eb2b85c18e2fbddca22d2348072f327fa7f45fe Mon Sep 17 00:00:00 2001 From: Matthieu Serrepuy Date: Mon, 28 Apr 2025 21:25:26 +0000 Subject: [PATCH] feat: Don't mount service account token by deault --- charts/music-notifications/Chart.yaml | 2 +- charts/music-notifications/templates/deployment.yaml | 1 + charts/music-notifications/values.yaml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/music-notifications/Chart.yaml b/charts/music-notifications/Chart.yaml index 479978b..b2d3f58 100644 --- a/charts/music-notifications/Chart.yaml +++ b/charts/music-notifications/Chart.yaml @@ -22,7 +22,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: 0.1.4 +version: 0.1.5 # 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/music-notifications/templates/deployment.yaml b/charts/music-notifications/templates/deployment.yaml index 273d698..e8a1339 100644 --- a/charts/music-notifications/templates/deployment.yaml +++ b/charts/music-notifications/templates/deployment.yaml @@ -23,6 +23,7 @@ spec: labels: {{- include "music-notifications.labels" . | nindent 8 }} spec: + automountServiceAccountToken: {{ .Values.automountServiceAccountToken }} containers: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" diff --git a/charts/music-notifications/values.yaml b/charts/music-notifications/values.yaml index 625ad8b..c1bb40d 100644 --- a/charts/music-notifications/values.yaml +++ b/charts/music-notifications/values.yaml @@ -63,6 +63,7 @@ resources: imagePullSecrets: [] nameOverride: '' fullnameOverride: '' +automountServiceAccountToken: false service: type: ClusterIP