mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-03-03 10:30:19 +00:00
15 lines
421 B
Bash
Executable File
15 lines
421 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -o errexit
|
|
|
|
REPO_ROOT=$(git rev-parse --show-toplevel)
|
|
export KUBECONFIG="$(kind get kubeconfig-path --name="kind")"
|
|
|
|
echo '>>> Loading image in Kind'
|
|
kind load docker-image test/podinfo:latest
|
|
|
|
echo '>>> Installing'
|
|
helm upgrade -i podinfo ${REPO_ROOT}/charts/podinfo --namespace=default
|
|
kubectl set image deployment/podinfo podinfo=test/podinfo:latest
|
|
kubectl rollout status deployment/podinfo
|