To deploy and test the chart, you can use minikube.
kubectl create ns arma3
STEAM_USER=bob
STEAM_PASSWORD=abc
TEST_VALUES=rwo-rwo.yaml
RELEASE=arma3-${TEST_VALUES/".yaml"/}
helm upgrade --install "$RELEASE" . -n arma3 \
-f test-values/"$TEST_VALUES" \
--set credentials.steamUser="$STEAM_USER" \
--set credentials.steamPassword="$STEAM_PASSWORD"
watch kubectl get pods -n arma3
Uninstall helm release:
helm uninstall -n arma3 "$RELEASE"
Cleanup any unused volumes belonging to this release (copy and paste the output command when satisfied):
echo kubectl delete pv $(
kubectl get pv -o json \
| jq -r --arg release "$RELEASE" \
'.items[] | select( .spec.claimRef.name | contains($release) ) | .metadata.name'
)
Run linting:
make validate
Test against snapshots:
make test
Update snapshots:
make snapshot
Generate docs:
make release