airshipctl/manifests/site/test-site/phases/catalogue.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

11 lines
308 B
YAML

apiVersion: airshipit.org/v1alpha1
kind: VersionsCatalogue
metadata:
name: versions-remotedirect
spec:
remotedirect:
# NOTE(aostapenko) This value will only be used in absense of
# AIRSHIPCTL_EPHEMERAL_ISO_URL environment variable
isoURL: http://localhost:8099/ephemeral.iso
node: node02