Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Sébastien Chabrolles <s.chabrolles@fr.ibm.com>
  • Loading branch information
schabrolles committed Jul 9, 2024
1 parent 3115259 commit c5ab240
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
apiVersion: tekton.dev/v1
kind: Pipeline
metadata:
{{ if .Values.airgap.enabled }}
name: cpd-add-components-airgap
{{ else }}
name: cpd-add-components
{{ end }}
namespace: {{ .Release.Namespace }}
spec:
params:
{{ if .Values.airgap.enabled }}
- default: private-registry
description: registry-secret containing your private registry credential
name: PRIVATE_REGISTRY_SECRET
type: string
{{ end }}
- default: {{ .Values.default_olm_utils_image }}
description: olm-utils images
name: OLM_UTILS_IMAGE
Expand Down
13 changes: 7 additions & 6 deletions charts/cpd-install-pipeline/templates/cpd-install-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ metadata:
namespace: {{ .Release.Namespace }}
spec:
params:
{{ if .Values.airgap.enabled }}
- default: private-registry
description: registry-secret containing your private registry credential
name: PRIVATE_REGISTRY_SECRET
type: string
{{ end }}
- default: {{ .Values.default_olm_utils_image }}
description: olm-utils images
name: OLM_UTILS_IMAGE
Expand Down Expand Up @@ -53,12 +59,7 @@ spec:
description: cloud-pak scheduler namespace
name: PROJECT_SCHEDULING_SERVICE
type: string
{{ if .Values.airgap.enabled }}
- default: private-registry
description: registry-secret containing your private registry credential
name: PRIVATE_REGISTRY_SECRET
type: string
{{ else }}
{{ if not .Values.airgap.enabled }}
- name: IBM_ENTITLEMENT_KEY
description: your ICR key to access cp.icr.io
type: string
Expand Down

0 comments on commit c5ab240

Please sign in to comment.