Adding bootstrap phase
Change-Id: I76a5fd0d724ddb7f2e3467f0807d6c312b1c836b
This commit is contained in:
parent
fc72884676
commit
1eba48d8cd
@ -64,3 +64,18 @@ additional-vars:
|
||||
CONTAINER_CACPK_AUTH_PROXY: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1
|
||||
CONTAINER_CABPK_AUTH_PROXY: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1
|
||||
CONTAINER_CAPI_AUTH_PROXY: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1
|
||||
---
|
||||
apiVersion: airshipit.org/v1alpha1
|
||||
kind: ImageConfiguration
|
||||
metadata:
|
||||
name: isogen
|
||||
labels:
|
||||
airshipit.org/deploy-k8s: "false"
|
||||
builder:
|
||||
networkConfigFileName: network-config
|
||||
outputMetadataFileName: output-metadata.yaml
|
||||
userDataFileName: user-data
|
||||
container:
|
||||
containerRuntime: docker
|
||||
image: quay.io/airshipit/isogen:latest-ubuntu_focal
|
||||
volume: /srv/iso:/config
|
||||
|
@ -1,3 +1,13 @@
|
||||
apiVersion: airshipit.org/v1alpha1
|
||||
kind: Phase
|
||||
metadata:
|
||||
name: bootstrap
|
||||
config:
|
||||
executorRef:
|
||||
apiVersion: airshipit.org/v1alpha1
|
||||
kind: ImageConfiguration
|
||||
name: isogen
|
||||
documentEntryPoint: manifests/site/test-site/ephemeral/bootstrap
|
||||
---
|
||||
apiVersion: airshipit.org/v1alpha1
|
||||
kind: Phase
|
||||
|
@ -27,7 +27,7 @@ sudo chmod -R 755 ${ISO_DIR}
|
||||
sudo chown -R ${USER_NAME} ${ISO_DIR}
|
||||
|
||||
echo "Build ephemeral iso"
|
||||
airshipctl image build --debug
|
||||
airshipctl phase run bootstrap --debug
|
||||
|
||||
echo "List generated iso"
|
||||
ls -lth ${ISO_DIR}
|
||||
|
Loading…
x
Reference in New Issue
Block a user