Move to using kustomize'd helm charts to deploy it Update the new version of the helm chart, which has very different values structure Move database into the db namespace Upgrade the db to include vectorchord Upgrade CNPG to now include barman cloud natively Migrate databases to Barman Cloud plugin, completely Eliminate yet another shell script step in applying my k8s config
22 lines
506 B
Bash
Executable File
22 lines
506 B
Bash
Executable File
#!/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"
|
|
|
|
kubectl apply -k helm
|
|
sleep 5
|
|
# 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 .
|
|
|
|
./tailscale/apply.sh
|