Validate, publish, and deploy Brave Sync / validate (push) Successful in 14s
Validate, publish, and deploy Brave Sync / image (push) Successful in 27s
Validate, publish, and deploy Brave Sync / chart (push) Successful in 26s
Validate, publish, and deploy Brave Sync / deploy (push) Successful in 1m38s
11 lines
352 B
Bash
Executable File
11 lines
352 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
project_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)
|
|
[[ "$(kubectl config current-context)" == kubernetes-admin@kubernetes ]] || {
|
|
echo "Expected homelab context kubernetes-admin@kubernetes" >&2
|
|
exit 1
|
|
}
|
|
kubectl apply --filename "${project_dir}/namespace.yaml"
|
|
echo "brave-sync namespace is ready"
|