Files
nixos/manifests/apply.sh
T

20 lines
484 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# Get the directory where the script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
# Change to the script directory
cd "$SCRIPT_DIR"
2025-05-27 19:16:11 -05:00
kubectl apply -k helm
2025-05-26 17:10:01 -05:00
sleep 5
2025-07-07 21:48:47 -05:00
# https://cloudnative-pg.io
helm repo add cnpg https://cloudnative-pg.github.io/charts/
helm upgrade --install cnpg \
--create-namespace --namespace cnpg-system \
cnpg/cloudnative-pg \
-f values/cnpg.yaml \
--wait
sleep 5
kubectl apply -k .