feat: cluster rollout update playbook & use new cmd for taskfiles (#829)

This commit is contained in:
Devin Buhl authored and GitHub committed 2023-07-04 18:37:24 -04:00
1 parent fd1590efcc
commit 07eb228b34
4 files changed
+110 -37

No files matched your search

+9 -18
View File
@@ -5,8 +5,7 @@ tasks:
verify:
desc: Verify flux meets the prerequisites
cmds:
- flux check --pre
cmd: flux check --pre
install:
desc: Install Flux into your cluster
@@ -25,8 +24,7 @@ tasks:
reconcile:
desc: Force update Flux to pull in changes from your Git repository
cmds:
- flux reconcile -n flux-system kustomization cluster --with-source
cmd: flux reconcile -n flux-system kustomization cluster --with-source
hr-restart:
desc: Restart all failed Helm Releases
@@ -36,33 +34,27 @@ tasks:
nodes:
desc: List all the nodes in your cluster
cmds:
- kubectl get nodes {{.CLI_ARGS | default "-o wide"}}
cmd: kubectl get nodes {{.CLI_ARGS | default "-o wide"}}
pods:
desc: List all the pods in your cluster
cmds:
- kubectl get pods {{.CLI_ARGS | default "-A"}}
cmd: kubectl get pods {{.CLI_ARGS | default "-A"}}
kustomizations:
desc: List all the kustomizations in your cluster
cmds:
- kubectl get kustomizations {{.CLI_ARGS | default "-A"}}
cmd: kubectl get kustomizations {{.CLI_ARGS | default "-A"}}
helmreleases:
desc: List all the helmreleases in your cluster
cmds:
- kubectl get helmreleases {{.CLI_ARGS | default "-A"}}
cmd: kubectl get helmreleases {{.CLI_ARGS | default "-A"}}
helmrepositories:
desc: List all the helmrepositories in your cluster
cmds:
- kubectl get helmrepositories {{.CLI_ARGS | default "-A"}}
cmd: kubectl get helmrepositories {{.CLI_ARGS | default "-A"}}
gitrepositories:
desc: List all the gitrepositories in your cluster
cmds:
- kubectl get gitrepositories {{.CLI_ARGS | default "-A"}}
cmd: kubectl get gitrepositories {{.CLI_ARGS | default "-A"}}
certificates:
desc: List all the certificates in your cluster
@@ -72,8 +64,7 @@ tasks:
ingresses:
desc: List all the ingresses in your cluster
cmds:
- kubectl get ingress {{.CLI_ARGS | default "-A"}}
cmd: kubectl get ingress {{.CLI_ARGS | default "-A"}}
resources:
desc: Gather common resources in your cluster, useful when asking for support