Adding hostconfig-operator to the existing zuul gate on treasuremap:v2 branch.
This patchset depends on https://review.opendev.org/#/c/745176/ where the changes for hostconfig-operator is done. Change-Id: Ife617020ee3c8833935d0afe03261db9868055be
This commit is contained in:
parent
511a4b0850
commit
f6734365a0
@ -1,6 +1,7 @@
|
||||
resources:
|
||||
- ../../../../type/airship-core/target/initinfra
|
||||
- ../../shared/catalogues
|
||||
- ../../../../function/hostconfig-operator
|
||||
patchesStrategicMerge:
|
||||
- patch_bmo_config.yaml
|
||||
transformers:
|
||||
|
@ -14,7 +14,17 @@
|
||||
|
||||
set -ex
|
||||
|
||||
export KUBECONFIG=${KUBECONFIG:-"$HOME/.airship/kubeconfig"}
|
||||
NODENAME="node01"
|
||||
export KUBECONFIG_TARGET_CONTEXT=${KUBECONFIG_TARGET_CONTEXT:-"target-cluster"}
|
||||
: ${AIRSHIPCTL_PROJECT:="../airshipctl"}
|
||||
|
||||
cd ${AIRSHIPCTL_PROJECT}
|
||||
|
||||
kubectl \
|
||||
--kubeconfig $KUBECONFIG \
|
||||
--context $KUBECONFIG_TARGET_CONTEXT \
|
||||
--request-timeout 10s \
|
||||
label node $NODENAME node-type=controlplane
|
||||
|
||||
./tools/deployment/31_deploy_initinfra_target_node.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user