From 5bd9b61b77d6857cc7ad52d132641b250f1a7cb7 Mon Sep 17 00:00:00 2001 From: Yury Kovalev <8366110+kovayur@users.noreply.github.com> Date: Fri, 14 Jun 2024 10:50:26 +0200 Subject: [PATCH] ROX-23709: Fix the volume mount error (#1889) --- .../helm/rhacs-terraform/templates/fleetshard-sync.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dp-terraform/helm/rhacs-terraform/templates/fleetshard-sync.yaml b/dp-terraform/helm/rhacs-terraform/templates/fleetshard-sync.yaml index ac9ab20c4f..ad78cd16c1 100644 --- a/dp-terraform/helm/rhacs-terraform/templates/fleetshard-sync.yaml +++ b/dp-terraform/helm/rhacs-terraform/templates/fleetshard-sync.yaml @@ -142,11 +142,13 @@ spec: key: {{ .Values.fleetshardSync.tenantImagePullSecret.key | quote }} {{- end }} volumeMounts: - - mountPath: /var/run/secrets/tokens + - mountPath: /var/run/secrets/tokens/aws-token + subPath: aws-token name: aws-token readOnly: true {{- if eq "SERVICE_ACCOUNT_TOKEN" .Values.fleetshardSync.authType }} - - mountPath: /var/run/secrets/tokens + - mountPath: /var/run/secrets/tokens/fleet-manager-token + subPath: fleet-manager-token name: fleet-manager-token readOnly: true {{- end }}