From b9ec318c25f81fb529f42a58e5dd5ff81fce356d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chabrolles?= Date: Mon, 8 Jul 2024 16:05:07 +0200 Subject: [PATCH] update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sébastien Chabrolles --- charts/cpd-install-pipeline/templates/NOTES.txt | 2 +- charts/cpd-install-pipeline/templates/olm-utilstask.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/cpd-install-pipeline/templates/NOTES.txt b/charts/cpd-install-pipeline/templates/NOTES.txt index 2877eed..61a28e5 100644 --- a/charts/cpd-install-pipeline/templates/NOTES.txt +++ b/charts/cpd-install-pipeline/templates/NOTES.txt @@ -1,4 +1,4 @@ -{{ if ne .Values.airgap.private_registry_secret "" }} +{{ if .Values.airgap.enabled }} [ DISCONNECTED / AIRGAP ] Mode Setup. ------------------------------------- /!\ YOU MUST CREATE YOUR PRIVATE REGISTRY SECRET /!\ diff --git a/charts/cpd-install-pipeline/templates/olm-utilstask.yaml b/charts/cpd-install-pipeline/templates/olm-utilstask.yaml index 022b008..cffd0d9 100644 --- a/charts/cpd-install-pipeline/templates/olm-utilstask.yaml +++ b/charts/cpd-install-pipeline/templates/olm-utilstask.yaml @@ -35,7 +35,7 @@ spec: - name: "install-options" mountPath: /tmp/install-options/install-options.yml subPath: install-options.yml - {{ if ne .Values.airgap.private_registry_secret "" }} + {{ if .Values.airgap.enabled }} - name: "airgap-secret" mountPath: /opt/ansible/private-registry.json subPath: .dockerconfigjson @@ -44,7 +44,7 @@ spec: - name: "install-options" configMap: name: "$(params.CP-INSTALL-OPTIONS)" - {{ if ne .Values.airgap.private_registry_secret "" }} + {{ if .Values.airgap.enabled }} - name: "airgap-secret" secret: secretName: $(params.AIRGAP-SECRET)