Add workload-config-target phase
Change-Id: I41f1e8e36321d2ac13a7947a635c41f81eded0b0
This commit is contained in:
parent
b538fedb99
commit
ab02dee4e0
@ -21,3 +21,15 @@ config:
|
|||||||
kind: GenericContainer
|
kind: GenericContainer
|
||||||
name: calicoctl-delete
|
name: calicoctl-delete
|
||||||
documentEntryPoint: target/workload/network-policy
|
documentEntryPoint: target/workload/network-policy
|
||||||
|
---
|
||||||
|
apiVersion: airshipit.org/v1alpha1
|
||||||
|
kind: Phase
|
||||||
|
metadata:
|
||||||
|
name: workload-config-target
|
||||||
|
clusterName: target-cluster
|
||||||
|
config:
|
||||||
|
executorRef:
|
||||||
|
apiVersion: airshipit.org/v1alpha1
|
||||||
|
kind: KubernetesApply
|
||||||
|
name: kubernetes-apply
|
||||||
|
documentEntryPoint: target/workload-config
|
||||||
|
18
tools/deployment/multi-tenant/361_deploy_workload_config.sh
Executable file
18
tools/deployment/multi-tenant/361_deploy_workload_config.sh
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
set -xe
|
||||||
|
|
||||||
|
echo "Deploy workload-config"
|
||||||
|
airshipctl phase run workload-config-target --debug
|
@ -105,7 +105,8 @@
|
|||||||
- ./tools/deployment/multi-tenant/32_cluster_init_target_node.sh
|
- ./tools/deployment/multi-tenant/32_cluster_init_target_node.sh
|
||||||
- ./tools/deployment/multi-tenant/33_cluster_move_target_node.sh
|
- ./tools/deployment/multi-tenant/33_cluster_move_target_node.sh
|
||||||
- ./tools/deployment/multi-tenant/35_deploy_worker_node.sh
|
- ./tools/deployment/multi-tenant/35_deploy_worker_node.sh
|
||||||
- ./tools/deployment/multi-tenant/36_deploy_workload.sh
|
- ./tools/deployment/multi-tenant/360_deploy_workload.sh
|
||||||
|
- ./tools/deployment/multi-tenant/361_deploy_workload_config.sh
|
||||||
files:
|
files:
|
||||||
- ^manifests/site/virtual-network-cloud/.*$
|
- ^manifests/site/virtual-network-cloud/.*$
|
||||||
- ^manifests/type/multi-tenant/.*$
|
- ^manifests/type/multi-tenant/.*$
|
||||||
|
Loading…
Reference in New Issue
Block a user