From a7789db022450cf2e5562bf4bffa325bdec576c3 Mon Sep 17 00:00:00 2001 From: Todd Swatling Date: Fri, 22 Nov 2024 23:01:36 -0500 Subject: [PATCH] imagePullSecrets was in the wrong location --- .../templates/Job_installplan-approver.yaml | 8 ++++---- .../templates/Job_installplan-complete-verifier.yaml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/charts/operators-installer/templates/Job_installplan-approver.yaml b/charts/operators-installer/templates/Job_installplan-approver.yaml index 99358c32..a5fd627d 100644 --- a/charts/operators-installer/templates/Job_installplan-approver.yaml +++ b/charts/operators-installer/templates/Job_installplan-approver.yaml @@ -25,13 +25,13 @@ spec: activeDeadlineSeconds: {{ .installPlanApproverActiveDeadlineSeconds }} template: spec: + {{- if $.Values.installPlanApproverAndVerifyJobsImagePullSecret }} + imagePullSecrets: + - {{ $.Values.installPlanApproverAndVerifyJobsImagePullSecret }} + {{- end }} containers: - name: installplan-approver image: {{ $.Values.installPlanApproverAndVerifyJobsImage }} - {{- if $.Values.installPlanApproverAndVerifyJobsImagePullSecret }} - imagePullSecrets: - - {{ $.Values.installPlanApproverAndVerifyJobsImagePullSecret }} - {{- end }} command: ["/bin/sh","-c"] args: - >- diff --git a/charts/operators-installer/templates/Job_installplan-complete-verifier.yaml b/charts/operators-installer/templates/Job_installplan-complete-verifier.yaml index 80a07277..6f7d11b0 100644 --- a/charts/operators-installer/templates/Job_installplan-complete-verifier.yaml +++ b/charts/operators-installer/templates/Job_installplan-complete-verifier.yaml @@ -24,13 +24,13 @@ spec: activeDeadlineSeconds: {{ .installPlanVerifierActiveDeadlineSeconds }} template: spec: + {{- if $.Values.installPlanApproverAndVerifyJobsImagePullSecret }} + imagePullSecrets: + - {{ $.Values.installPlanApproverAndVerifyJobsImagePullSecret }} + {{- end }} containers: - name: installplan-complete-verifier image: {{ $.Values.installPlanApproverAndVerifyJobsImage }} - {{- if $.Values.installPlanApproverAndVerifyJobsImagePullSecret }} - imagePullSecrets: - - {{ $.Values.installPlanApproverAndVerifyJobsImagePullSecret }} - {{- end }} command: ["/bin/sh","-c"] args: - >-