Skip to content

Commit

Permalink
Pin K8s cluster version
Browse files Browse the repository at this point in the history
  • Loading branch information
eberlep committed Oct 16, 2023
1 parent 243e08d commit 68113e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -217,15 +217,15 @@ two-kind-clusters:
#
## control-plane-cluster
########################
kind create cluster --name ctrl --kubeconfig ./kubeconfig
kind create cluster --name ctrl --kubeconfig ./kubeconfig --image kindest/node:v1.24.15
container_ip=$$(docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' 'ctrl-control-plane') ;\
kubectl --kubeconfig=kubeconfig config set-cluster 'kind-ctrl' --server="https://$${container_ip}:6443"
make install
make create-postgres
#
## service-cluster
########################
kind create cluster
kind create cluster --image kindest/node:v1.24.15
sed 's/z.Spec.Volume.StorageClass/\/\/z.Spec.Volume.StorageClass/' -i api/v1/postgres_types.go
make kind-load-image
sed 's/\/\/z.Spec.Volume.StorageClass/z.Spec.Volume.StorageClass/' -i api/v1/postgres_types.go
Expand Down

0 comments on commit 68113e2

Please sign in to comment.