diff options
-rw-r--r-- | playbook.bash | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/playbook.bash b/playbook.bash index 0cbf315..e00ed1b 100644 --- a/playbook.bash +++ b/playbook.bash @@ -45,13 +45,15 @@ playbook_sync() { local data local helm_cmd local kubeconfig + local manifest_prefix local values data="$(playbook_path "data")" kubeconfig="$(config "fs.etcdir")/rancher/k3s/k3s.yaml" + manifest_prefix="$(config "$BASHTARD_PLAYBOOK.manifest-prefix" "")" notice "$BASHTARD_PLAYBOOK/manifests" "Applying manifests.d" - kubectl --kubeconfig "$kubeconfig" apply --recursive --filename "$data/manifests.d" + kubectl --kubeconfig "$kubeconfig" apply --recursive --filename "$data/manifests.d/$manifest_prefix" notice "$BASHTARD_PLAYBOOK/helm" "Ensure all Helm repos exist" while read -r repo |