Files
homelab/bootstrap.sh
rblundon fe564d7227 Squashed 'cluster-config/' content from commit 654f2390
git-subtree-dir: cluster-config
git-subtree-split: 654f23903bd1f9a27a4810bd289d165b6cfdbb0c
2025-03-30 15:46:16 -05:00

11 lines
286 B
Bash
Executable File

if [ $# -lt 1 ]; then
echo "No overlay specified, please specify an overlay from bootstrap/overlays"
exit 1
else
OVERLAY=$1
echo "Configuring cluster ${OVERLAY}"
fi
oc project openshift-gitops
kustomize build bootstrap/overlays/${OVERLAY} --enable-helm | oc apply -f -