@leverege/build-tools 2.21.0-beta.3 → 2.21.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/server/repo-init/config.tgz +0 -0
- package/package.json +3 -3
- package/src/helmup +21 -35
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leverege/build-tools",
|
|
3
|
-
"version": "2.21.0-beta.
|
|
3
|
+
"version": "2.21.0-beta.4",
|
|
4
4
|
"description": "A collection of build / support tools for Leverege developers",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"inquirer": "^8.2.4",
|
|
65
65
|
"js-yaml": "^4.1.0",
|
|
66
66
|
"ncp": "^2.0.0",
|
|
67
|
-
"npm-registry-fetch": "^13.3.
|
|
67
|
+
"npm-registry-fetch": "^13.3.1",
|
|
68
68
|
"open": "^8.4.0",
|
|
69
69
|
"ora": "^5.4.1",
|
|
70
70
|
"parse-gitignore": "^2.0.0",
|
|
@@ -79,6 +79,6 @@
|
|
|
79
79
|
"@babel/node": "^7.18.10",
|
|
80
80
|
"@leverege/babel-preset-leverege-node": "^2.0.0",
|
|
81
81
|
"@leverege/eslint-config-leverege": "^3.0.1",
|
|
82
|
-
"npm": "^8.
|
|
82
|
+
"npm": "^8.18.0"
|
|
83
83
|
}
|
|
84
84
|
}
|
package/src/helmup
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
#
|
|
3
|
-
# This script is used to ease the pain of transition testing to chart museum
|
|
4
|
-
# for adding / updating deployments on a fluster.
|
|
5
1
|
#
|
|
6
2
|
# printf "\n***** RUNNING LOCALLY *****\n" && sleep 2
|
|
7
3
|
|
|
@@ -161,32 +157,18 @@ function installGrafana() {
|
|
|
161
157
|
function installRedis() {
|
|
162
158
|
showInstalling "Redis Network Cache"
|
|
163
159
|
addBitnamiRepo latest
|
|
164
|
-
[ -z "$REDIS_HELM_CHART" ] && REDIS_HELM_CHART="
|
|
160
|
+
[ -z "$REDIS_HELM_CHART" ] && REDIS_HELM_CHART="17" # latest chart 17 is redis v7
|
|
165
161
|
helm upgrade --install redis bitnami/redis \
|
|
166
162
|
--version $REDIS_HELM_CHART \
|
|
167
163
|
-f - <<REDIS_CHART_MODS
|
|
168
|
-
auth:
|
|
169
|
-
enabled: false
|
|
170
|
-
|
|
171
164
|
global:
|
|
172
165
|
storageClass: ssd
|
|
173
166
|
|
|
174
|
-
|
|
175
|
-
enabled:
|
|
176
|
-
|
|
177
|
-
networkPolicy:
|
|
178
|
-
enabled: true
|
|
167
|
+
auth:
|
|
168
|
+
enabled: false
|
|
169
|
+
sentinel: false
|
|
179
170
|
|
|
180
171
|
master:
|
|
181
|
-
persistence:
|
|
182
|
-
size: 8Gi # 8Gi is default
|
|
183
|
-
|
|
184
|
-
tolerations:
|
|
185
|
-
- key: "database"
|
|
186
|
-
operator: "Equal"
|
|
187
|
-
value: "true"
|
|
188
|
-
effect: "NoSchedule"
|
|
189
|
-
|
|
190
172
|
affinity:
|
|
191
173
|
nodeAffinity:
|
|
192
174
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
@@ -197,25 +179,29 @@ master:
|
|
|
197
179
|
values:
|
|
198
180
|
- database
|
|
199
181
|
|
|
200
|
-
replica:
|
|
201
|
-
persistence:
|
|
202
|
-
size: 8Gi # 8Gi is default
|
|
203
|
-
|
|
204
182
|
tolerations:
|
|
205
183
|
- key: "database"
|
|
206
184
|
operator: "Equal"
|
|
207
185
|
value: "true"
|
|
208
186
|
effect: "NoSchedule"
|
|
209
187
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
188
|
+
persistence:
|
|
189
|
+
size: 8Gi # 8Gi is default
|
|
190
|
+
|
|
191
|
+
sentinel:
|
|
192
|
+
enabled: true
|
|
193
|
+
|
|
194
|
+
networkPolicy:
|
|
195
|
+
enabled: true
|
|
196
|
+
allowExternal: false
|
|
197
|
+
ingressNSMatchLabels:
|
|
198
|
+
redis: external
|
|
199
|
+
ingressNSPodMatchLabels:
|
|
200
|
+
redis-client: true
|
|
201
|
+
|
|
202
|
+
metrics:
|
|
203
|
+
enabled: true
|
|
204
|
+
|
|
219
205
|
REDIS_CHART_MODS
|
|
220
206
|
if [[ $? -ne 0 ]];
|
|
221
207
|
then
|