From db0af88c1e9a3e3ab46b8da70a2818da063f4eae Mon Sep 17 00:00:00 2001 From: zijiren233 Date: Thu, 10 Oct 2024 03:20:07 +0000 Subject: [PATCH] fix: upgrade higress to 2.0.1 to fix higress-ca-root-cert appearing in other namespaces --- scripts/cloud/install.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/cloud/install.sh b/scripts/cloud/install.sh index 31b23ef5305..8b4e8736bf3 100644 --- a/scripts/cloud/install.sh +++ b/scripts/cloud/install.sh @@ -31,7 +31,7 @@ cilium_version=${cilium_version:-"1.15.8"} cert_manager_version=${cert_manager_version:-"1.14.6"} helm_version=${helm_version:-"3.14.1"} openebs_version=${openebs_version:-"3.10.0"} -higress_version=${higress_version:-"2.0.0"} +higress_version=${higress_version:-"2.0.1"} kubeblocks_version=${kubeblocks_version:-"0.8.2"} metrics_server_version=${metrics_server_version:-"0.6.4"} victoria_metrics_k8s_stack_version=${victoria_metrics_k8s_stack_version:-"1.96.0"} @@ -86,7 +86,7 @@ Options: --cert-manager-version # Cert Manager version (default: 1.14.6) --helm-version # Helm version (default: 3.14.1) --openebs-version # OpenEBS version (default: 3.10.0) - --higress-version # Higress version (default: 2.0.0) + --higress-version # Higress version (default: 2.0.1) --kubeblocks-version # Kubeblocks version (default: 0.8.2) --metrics-server-version # Metrics Server version (default: 0.6.4) --cloud-version # Sealos Cloud version (default: latest) @@ -155,7 +155,7 @@ Options: --cert-manager-version # Cert Manager版本 (默认: 1.14.6) --helm-version # Helm版本 (默认: 3.14.1) --openebs-version # OpenEBS版本 (默认: 3.10.0) - --higress-version # Higress版本 (默认: 2.0.0) + --higress-version # Higress版本 (默认: 2.0.1) --kubeblocks-version # Kubeblocks版本 (默认: 0.8.2) --metrics-server-version # Metrics Server版本 (默认: 0.6.4) --cloud-version # Sealos Cloud版本 (默认: latest) @@ -271,7 +271,7 @@ init() { pull_image "cert-manager" "v${cert_manager_version#v:-1.14.6}" pull_image "helm" "v${helm_version#v:-3.14.1}" pull_image "openebs" "v${openebs_version#v:-3.10.0}" - pull_image "higress" "v${higress_version#v:-2.0.0}" + pull_image "higress" "v${higress_version#v:-2.0.1}" pull_image "kubeblocks" "v${kubeblocks_version#v:-0.8.2}" pull_image "kubeblocks-redis" "v${kubeblocks_version#v:-0.8.2}" pull_image "kubeblocks-apecloud-mysql" "v${kubeblocks_version#v:-0.8.2}" @@ -441,7 +441,7 @@ spec: requests: cpu: 256m memory: 256Mi - match: ${image_registry}/${image_repository}/higress:v${higress_version#v:-2.0.0} + match: ${image_registry}/${image_repository}/higress:v${higress_version#v:-2.0.1} path: charts/higress/charts/higress-core/values.yaml strategy: merge " @@ -454,7 +454,7 @@ metadata: spec: data: | replicaCount: 0 - match: ${image_registry}/${image_repository}/higress:v${higress_version#v:-2.0.0} + match: ${image_registry}/${image_repository}/higress:v${higress_version#v:-2.0.1} path: charts/higress/charts/higress-console/values.yaml strategy: merge " @@ -761,7 +761,7 @@ EOF sealos run "${image_registry}/${image_repository}/victoria-metrics-k8s-stack:v${victoria_metrics_k8s_stack_version#v:-1.96.0}" get_prompt "partner_installation" - sealos run ${image_registry}/${image_repository}/higress:v${higress_version#v:-2.0.0} --config-file $CLOUD_DIR/higress-config.yaml --config-file $CLOUD_DIR/higress-console-config.yaml + sealos run ${image_registry}/${image_repository}/higress:v${higress_version#v:-2.0.1} --config-file $CLOUD_DIR/higress-config.yaml --config-file $CLOUD_DIR/higress-console-config.yaml kubectl apply -f $CLOUD_DIR/higress-https.yaml kubectl apply -f $CLOUD_DIR/higress-plugins.yaml get_prompt "optimizing_h2_buffer"