Add workload-config-target phase

Change-Id: I41f1e8e36321d2ac13a7947a635c41f81eded0b0
This commit is contained in:
Ian Howell 2021-05-28 08:32:12 -05:00
parent b538fedb99
commit ab02dee4e0
4 changed files with 32 additions and 1 deletions

View File

@ -21,3 +21,15 @@ config:
kind: GenericContainer
name: calicoctl-delete
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

View 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

View File

@ -105,7 +105,8 @@
- ./tools/deployment/multi-tenant/32_cluster_init_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/36_deploy_workload.sh
- ./tools/deployment/multi-tenant/360_deploy_workload.sh
- ./tools/deployment/multi-tenant/361_deploy_workload_config.sh
files:
- ^manifests/site/virtual-network-cloud/.*$
- ^manifests/type/multi-tenant/.*$