push the script
This commit is contained in:
parent
61bf835753
commit
264833cd6a
|
|
@ -45,7 +45,7 @@ pipeline:
|
|||
cmd: |
|
||||
export PATH=$PATH:$HOME/go/bin
|
||||
cd $OPERATOR_TOP_DIR/postgres-operator
|
||||
go get -u -v sigs.k8s.io/kind
|
||||
go get -u sigs.k8s.io/kind
|
||||
echo "INFO install kubectl to test 'kind' from client side"
|
||||
(curl -LO --silent https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl &&
|
||||
chmod +x ./kubectl &&
|
||||
|
|
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# enable unofficial bash strict mode
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
kind create cluster --name kind-m2 --config ./e2e/kind-config-multikind.yaml --loglevel debug
|
||||
export KUBECONFIG="$(kind get kubeconfig-path --name="kind-m")"
|
||||
kubectl cluster-info
|
||||
Loading…
Reference in New Issue