UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 7c74d8d1 authored by Ryan Garcia's avatar Ryan Garcia :dizzy:
Browse files

Again fixing or operand statement in 01 deploy script for RKE2 envs

parent dfb9c062
No related branches found
No related tags found
1 merge request!605Update CI image references to latest k8s-builder
Pipeline #375219 failed
......@@ -24,7 +24,7 @@ if [ "$(yq e ".addons.keycloak.enabled" "tests/ci/k3d/values.yaml")" == "true" ]
fi
# Set controlPlaneCidr for ci-infra jobs which are RKE2
if [[ "$CI_PIPELINE_SOURCE" == "schedule" ]] && [[ "$CI_COMMIT_BRANCH" == "master" ]] || [[ "$CI_MERGE_REQUEST_LABELS" =~ /(^|,)test-ci::infra(,|$)/ ]]; then
if [[ "$CI_PIPELINE_SOURCE" == "schedule" ]] && [[ "$CI_COMMIT_BRANCH" == "master" ]] || [[ "$CI_MERGE_REQUEST_LABELS" = *"test-ci::infra"* ]]; then
echo "Updating networkPolicies.controlPlaneCidr since Environment is RKE2"
yq e '.networkPolicies.controlPlaneCidr = "10.0.0.0/8"' $CI_VALUES_FILE > tmpfile && mv tmpfile $CI_VALUES_FILE
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment