Files
feedc0de 49f1692e44
Validate and deploy phpPgAdmin / Validate manifests (push) Successful in 22s
Validate and deploy phpPgAdmin / Deploy to Kubernetes (push) Successful in 40s
Deploy phpPgAdmin with maintained public image
2026-08-08 23:02:42 +02:00

21 lines
504 B
Bash
Executable File

#!/bin/sh
set -eu
namespace=default
script_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
if ! command -v kubectl >/dev/null 2>&1; then
echo "Required command not found: kubectl" >&2
exit 1
fi
kubectl apply --dry-run=server --filename "$script_dir/phppgadmin.yaml"
kubectl apply --filename "$script_dir/phppgadmin.yaml"
kubectl rollout status deployment/phppgadmin \
--namespace "$namespace" \
--timeout=10m
echo
echo "phpPgAdmin is available at https://phppgadmin.brunner.ninja."