0c14bde17e
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>
11 lines
308 B
YAML
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
|