From 521f0cbf28b7dbbecdce046843f86e5c34881fd1 Mon Sep 17 00:00:00 2001 From: Pawel Kosiec Date: Fri, 3 Jun 2022 11:24:43 +0200 Subject: [PATCH] Remove `automountServiceAccountToken` not necessary anymore --- helm/botkube/templates/serviceaccount.yaml | 1 - helm/botkube/values.yaml | 4 ---- 2 files changed, 5 deletions(-) diff --git a/helm/botkube/templates/serviceaccount.yaml b/helm/botkube/templates/serviceaccount.yaml index d426298da2..0f41a2bfe7 100644 --- a/helm/botkube/templates/serviceaccount.yaml +++ b/helm/botkube/templates/serviceaccount.yaml @@ -11,4 +11,3 @@ metadata: helm.sh/chart: {{ include "botkube.chart" . }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: {{ .Release.Service }} -automountServiceAccountToken: {{ .Values.automountServiceAccountToken }} diff --git a/helm/botkube/values.yaml b/helm/botkube/values.yaml index 94e02b0d4a..ccfd33bf43 100644 --- a/helm/botkube/values.yaml +++ b/helm/botkube/values.yaml @@ -35,7 +35,6 @@ containerSecurityContext: kubeconfig: # If true, enables overriding the kubernetes auth. - # NOTE: Remember to set automountServiceAccountToken to false. enabled: false # A base64 encoded kubeconfig that will be stored in a secret, mounted to the pod, and specified in the KUBECONFIG environment variable. base64Config: "" @@ -45,9 +44,6 @@ kubeconfig: # config: {base64_encoded_kubeconfig} existingSecret: "" -# Use this to override the default behavior of the service account. It MUST be disabled when using kubeconfig.enabled. -automountServiceAccountToken: true - # set one of the log levels- info, warn, debug, error, fatal, panic logLevel: info