Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion istio-configuration/configure-istio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fi
echo "External IP for istio-ingressgateway is ${INGRESS_IP}, creating configmaps..."

K8S_VERSION=$(kubectl version -ojson)
K8S_VERSION_MINOR=$(echo "$K8S_VERSION" | jq -r .serverVersion.minor)
K8S_VERSION_MINOR=$(echo "$K8S_VERSION" | grep 'minor' | tail -1 | sed 's/^.*: //' | sed 's/^"\(.*\)".*/\1/')

if [[ "$K8S_VERSION_MINOR" < "19" ]]
then
Expand Down
2 changes: 1 addition & 1 deletion quickstart/expose-keptn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ SLEEP_TIME=5
print_headline "Configuring Ingress for your local installation"

K8S_VERSION=$(kubectl version -ojson)
K8S_VERSION_MINOR=$(echo "$K8S_VERSION" | jq -r .serverVersion.minor)
K8S_VERSION_MINOR=$(echo "$K8S_VERSION" | grep 'minor' | tail -1 | sed 's/^.*: //' | sed 's/^"\(.*\)".*/\1/')

if [[ "$K8S_VERSION_MINOR" < "19" ]]
then
Expand Down
2 changes: 1 addition & 1 deletion quickstart/multistage-delivery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ helm install prometheus prometheus-community/prometheus --namespace monitoring -
verify_test_step $? "Install prometheus failed"

K8S_VERSION=$(kubectl version -ojson)
K8S_VERSION_MINOR=$(echo "$K8S_VERSION" | jq -r .serverVersion.minor)
K8S_VERSION_MINOR=$(echo "$K8S_VERSION" | grep 'minor' | tail -1 | sed 's/^.*: //' | sed 's/^"\(.*\)".*/\1/')

if [[ "$K8S_VERSION_MINOR" < "19" ]]
then
Expand Down