airshipctl/manifests/phases/kustomization.yaml
Andrii Ostapenko 0c14bde17e Allow to pass iso url from env for remotedirect-ephemeral phase
This commit introduces an ability to consume
AIRSHIPCTL_EPHEMERAL_ISO_URL environment variable. Also
it switches from phase patch to catalogue and implements
corresponding replacement transformer for remotedirect
variables.

With this code isoURL catalogue value is only used in an
absense of AIRSHIPCTL_EPHEMERAL_ISO_URL.

Airshipctl does not control how an iso is served leaving it on
discretion of deployment pipeline, also iso contents are fully
determined by image-builder image and manifests, thus this change
does not violate GitOps principles.

Change-Id: Ie6eebe0f0502b2f8e41b081281336299c63f5e4d
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2021-03-26 16:16:21 +00:00

15 lines
414 B
YAML

resources:
- phases.yaml
- plan.yaml
- executors.yaml
- cluster-map.yaml
- ../function/clusterctl
- ../function/airshipctl-base-catalogues
patchesStrategicMerge:
- clusterctl_init_options.yaml
transformers:
- ../function/clusterctl/replacements
# NOTE(aostapenko) Consume AIRSHIPCTL_EPHEMERAL_ISO_URL here that will
# have precedence over phase catalogue isoURL value
- ../function/bootstrap