From 2cbcb575b6e5588e203821b48ab4e361dbb5291a Mon Sep 17 00:00:00 2001 From: Sergio Rivera <73856524+sergio120981@users.noreply.github.com> Date: Thu, 19 Jun 2025 16:18:31 +0300 Subject: [PATCH 1/2] Update precheck.yaml I had this issue on my environment where I had to login into an internal registry, and when deploying this precheck pod, the pod couldnt login in the registry, so I had to overwrite this imagePullSecrets manually into the chart definition --- orchestra/templates/tests/precheck.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/orchestra/templates/tests/precheck.yaml b/orchestra/templates/tests/precheck.yaml index 40f06b5..3d84fc8 100644 --- a/orchestra/templates/tests/precheck.yaml +++ b/orchestra/templates/tests/precheck.yaml @@ -160,6 +160,8 @@ spec: {{- toYaml .Values.services.affinity | nindent 6 }} {{ end }} restartPolicy: Never + imagePullSecrets: + - name: {{ .Values.services.pullSecret }} containers: - name: test-values From 03782e525f5bf0a6255e8fc708ef1db70d857786 Mon Sep 17 00:00:00 2001 From: Sergio Rivera <73856524+sergio120981@users.noreply.github.com> Date: Fri, 20 Jun 2025 13:40:34 +0300 Subject: [PATCH 2/2] Update precheck.yaml adding validation for the existing services.pullSecret value in the values.yaml file --- orchestra/templates/tests/precheck.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/orchestra/templates/tests/precheck.yaml b/orchestra/templates/tests/precheck.yaml index 3d84fc8..44adc8c 100644 --- a/orchestra/templates/tests/precheck.yaml +++ b/orchestra/templates/tests/precheck.yaml @@ -160,8 +160,10 @@ spec: {{- toYaml .Values.services.affinity | nindent 6 }} {{ end }} restartPolicy: Never + {{ if .Values.services.pullSecret }} imagePullSecrets: - - name: {{ .Values.services.pullSecret }} + - name: {{ .Values.services.pullSecret | quote }} + {{ end }} containers: - name: test-values