Skip to content

Commit

Permalink
Update packages version.
Browse files Browse the repository at this point in the history
Signed-off-by: Dennis Huang <haicha.tw@gmail.com>
  • Loading branch information
huaichehuang committed Jul 23, 2024
1 parent 3679235 commit d9c4c86
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions ci/k3d/setup-k3d.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PRIMEHUB_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
cd $PRIMEHUB_ROOT

CLUSTER_NAME=${CLUSTER_NAME:-primehub}
K8S_VERSION=${K8S_VERSION:-"v1.21.2-k3s1"}
K8S_VERSION=${K8S_VERSION:-"v1.26.15-k3s1"}
BIND_ADDRESS=${BIND_ADDRESS:-10.88.88.88}
PRIMEHUB_PORT=${PRIMEHUB_PORT:-8080}

Expand Down Expand Up @@ -54,10 +54,11 @@ helm install nginx-ingress ingress-nginx/ingress-nginx \
--namespace nginx-ingress \
--set controller.hostNetwork=true \
--set controller.admissionWebhooks.enabled=false \
--set controller.updateStrategy.type=RollingUpdate \
--set controller.updateStrategy.rollingUpdate.maxUnavailable=1 \
--set controller.updateStrategy.rollingUpdate.maxSurge=1 \
--set rbac.create=true \
--set defaultBackend.enabled=true
#--set controller.updateStrategy.type=RollingUpdate \
#--set controller.updateStrategy.rollingUpdate.maxUnavailable=1 \
#--set controller.updateStrategy.rollingUpdate.maxSurge=1 \

kubectl apply -f k3d/nginx-config.yaml

Expand Down
4 changes: 2 additions & 2 deletions ci/setup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ sudo DEBIAN_FRONTEND=noninteractive apt-get clean
sudo rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Install kubectl
curl -sLO https://storage.googleapis.com/kubernetes-release/release/v1.17.5/bin/linux/amd64/kubectl && \
curl -sLO https://storage.googleapis.com/kubernetes-release/release/v1.26.15/bin/linux/amd64/kubectl && \
chmod a+x kubectl && \
sudo mv kubectl /usr/local/bin

K3D_VERSION=4.4.8
HELM_VERSION=3.6.2
HELM_VERSION=3.15.3
HELMFILE_VERSION=v0.144.0
NVM_VERSION=0.39.0
NODEJS_VERSION=14.18.0
Expand Down

0 comments on commit d9c4c86

Please sign in to comment.