From 30ad1e8abb696afbc8bab89764e15444f652f8c6 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Thu, 28 Sep 2023 06:16:50 -0700 Subject: [PATCH] Pass image pull secrets to crd installer Signed-off-by: Tamal Saha --- charts/stash-community/templates/crd-installer/job.yaml | 1 + charts/stash-enterprise/templates/crd-installer/job.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/charts/stash-community/templates/crd-installer/job.yaml b/charts/stash-community/templates/crd-installer/job.yaml index eb5ab0dda..57253bafc 100644 --- a/charts/stash-community/templates/crd-installer/job.yaml +++ b/charts/stash-community/templates/crd-installer/job.yaml @@ -15,6 +15,7 @@ spec: ttlSecondsAfterFinished: 10 template: spec: + {{- include "appscode.imagePullSecrets" . | nindent 6 }} serviceAccountName: {{ include "stash-community.serviceAccountName" . }}-crd-installer containers: - name: installer diff --git a/charts/stash-enterprise/templates/crd-installer/job.yaml b/charts/stash-enterprise/templates/crd-installer/job.yaml index 951b8b931..1b4766066 100644 --- a/charts/stash-enterprise/templates/crd-installer/job.yaml +++ b/charts/stash-enterprise/templates/crd-installer/job.yaml @@ -15,6 +15,7 @@ spec: ttlSecondsAfterFinished: 10 template: spec: + {{- include "appscode.imagePullSecrets" . | nindent 6 }} serviceAccountName: {{ include "stash-enterprise.serviceAccountName" . }}-crd-installer containers: - name: installer