File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -57,21 +57,24 @@ declare -r RESTARTCONTAINERRUNTIME=${RESTARTCONTAINERRUNTIME:-false}
5757declare -r REDHAT_SUB=${REDHAT_SUB:- false}
5858declare -r CLUSTER_CONFIG=${CLUSTER_CONFIG:- true}
5959
60+ declare -r TEKTON_INSTALL_URL=" https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml"
61+
6062source " $PROJECT_ROOT /lib/utils.sh"
6163
6264config_cluster () {
6365 info " start config cluster"
6466 export KUBECONFIG=" ${KUBECONFIG_ROOT_DIR} /$KEPLER_KUBECONFIG "
6567 info " finish load kubeconfig"
68+
6669 if is_set " $PROMETHEUS_ENABLE " || is_set " $GRAFANA_ENABLE " ; then
6770 source " $PROJECT_ROOT /lib/prometheus.sh"
6871 deploy_prometheus_operator
6972 fi
7073
7174 if is_set " $TEKTON_ENABLE " ; then
72- kubectl apply --filename https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml
73- rollout_ns_status tekton-pipelines
74- rollout_ns_status tekton-pipelines-resolvers
75+ kubectl apply --filename " $TEKTON_INSTALL_URL "
76+ wait_for_resource 10 20 deployment Available tekton-pipelines-controller -n tekton-pipelines
77+ wait_for_resource 10 20 deployment Available tekton-pipelines-webhook -n tekton-pipelines
7578 fi
7679
7780 # install kubevirt per https://kubevirt.io/quickstart_kind/
You can’t perform that action at this time.
0 commit comments