generated from fluxcd/flux2-kustomize-helm-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevshell.toml
108 lines (86 loc) · 1.66 KB
/
devshell.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[[commands]]
package = "sops"
category = "gitops"
[[commands]]
category = "gitops"
package = "k9s"
[[commands]]
category = "gitops"
package = "kubeseal"
[[commands]]
category = "gitops"
package = "kubeconform"
[[commands]]
category = "gitops"
package = "jq"
[[commands]]
category = "gitops"
package = "commitizen"
[[commands]]
category = "gitops"
package = "kubernetes-helm"
[[commands]]
category = "gitops"
package = "kubectl"
[[commands]]
help = "Get Coffee ☕"
name = "coffee"
command = "echo '☕'"
category = "relax"
[[commands]]
help = " 🌲 Get Fluxcd Rolling Logs 🪵"
name = "logs"
command = "flux logs -f"
[[commands]]
help = "Deploy 🔨"
name = "deploy"
command = '''
echo "It's just git push!🔨 Enjoying gitops?"
validate
git push origin HEAD
'''
[[commands]]
help = "Pre-flight boostrap Checks."
name ="check"
command = '''
flux check --pre
'''
[[commands]]
help = " ☢ Bootstrap Cluster ☢"
name = "bootstrap"
command = '''
flux bootstrap github \
--components-extra=image-reflector-controller,image-automation-controller \
--context=staging \
--owner=${GITHUB_USER} \
--repository=${GITHUB_REPO} \
--branch=main \
--personal \
--read-write-key \
--path=clusters/staging
'''
[[commands]]
package = "kind"
category = "ci"
[[commands]]
help = "Validate"
name = "validate"
command = '''
export REPO_ROOT=$(git rev-parse --show-toplevel)
pushd $REPO_ROOT >/dev/null
exec sh -c ./scripts/validate.sh
popd
'''
[[commands]]
package = "fluxcd"
[devshell]
motd = '''
{bold}{150} 🥞 A Modern Big Datalakehouse Stack 🥞 {reset}
$(type -p menu &>/dev/null && menu)
'''
packages = [
"yq",
"kubeconform",
"kustomize",
"jq",
]