Install Helm as objects

Rather than running helm on the client and passing it to kubectl, just
install Flux and set the Helm repos on the server side

Add resolv.conf to the Kubernetes config so that the hosts can resolve
hostnames in order to pull down the Helm repositories

Add backups to the database configurations
This commit is contained in:
Greg Hellings
2025-05-27 19:16:11 -05:00
parent 26d4e9b771
commit ee5389baea
14 changed files with 12945 additions and 36 deletions
+3 -5
View File
@@ -7,10 +7,8 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
cd "$SCRIPT_DIR"
kubectl apply -k namespaces
kustomize build external-secrets --enable-helm | kubectl apply -f -
echo -e "\nPausing for a moment to allow the External Secrets stuff to get going\n"
kubectl apply -f helm/flux.yaml
sleep 5
kustomize build postgres --enable-helm | kubectl apply -f - --server-side --force-conflicts
echo -e "\nPausing for a moment to allow Postgres stuff to get going\n"
kubectl apply -k helm
sleep 5
kubectl apply -k .
kubectl apply .