postgres-operator/e2e/mock_e2e.sh

12 lines
296 B
Bash
Executable File

#!/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