From 11cc2027b8f64a5d4ff9987b0acfa3beca940473 Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Thu, 27 Jun 2024 21:13:44 +0200 Subject: [PATCH] feat(deploy): add automountServiceAccountToke=false to migrations job --- deploy/templates/migration-job.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/templates/migration-job.yaml b/deploy/templates/migration-job.yaml index a42826f..9f19423 100644 --- a/deploy/templates/migration-job.yaml +++ b/deploy/templates/migration-job.yaml @@ -17,6 +17,7 @@ spec: app.kubernetes.io/component: "database-migrations" batch.kubernetes.io/job-name: {{ .Release.Name }}-migrations-{{ now | unixEpoch }} spec: + automountServiceAccountToken: false {{- with .Values.migrations.image.pullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }}