diff --git a/.chloggen/fixexplicittokenta.yaml b/.chloggen/fixexplicittokenta.yaml new file mode 100644 index 0000000000..cc5b74f48b --- /dev/null +++ b/.chloggen/fixexplicittokenta.yaml @@ -0,0 +1,12 @@ +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: bug_fix +# The name of the component, or a single word describing the area of concern, (e.g. agent, clusterReceiver, gateway, operator, chart, other) +component: targetAllocator +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Fix the name of the service account token given when featureGates.explicitMountServiceAccountToken is true +# One or more tracking issues related to the change +issues: [1427] +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: diff --git a/helm-charts/splunk-otel-collector/templates/targetAllocator-deployment.yaml b/helm-charts/splunk-otel-collector/templates/targetAllocator-deployment.yaml index 8e5169fc24..c65724839c 100644 --- a/helm-charts/splunk-otel-collector/templates/targetAllocator-deployment.yaml +++ b/helm-charts/splunk-otel-collector/templates/targetAllocator-deployment.yaml @@ -17,7 +17,7 @@ spec: app: targetAllocator spec: serviceAccountName: {{ template "splunk-otel-collector.targetAllocatorServiceAccountName" . }} - {{- if .Values.featureGates.explicitMountServiceAccountToken }}}} + {{- if .Values.featureGates.explicitMountServiceAccountToken }} automountServiceAccountToken: false {{- end }} containers: