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)