@leverege/build-tools 2.5.10 → 2.5.11
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 +5 -5
- package/src/helmup +16 -19
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leverege/build-tools",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.11",
|
|
4
4
|
"description": "A collection of build / support tools for Leverege developers",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"inquirer": "^7.3.3",
|
|
63
63
|
"js-yaml": "^3.14.0",
|
|
64
64
|
"ncp": "^2.0.0",
|
|
65
|
-
"npm-check-updates": "^10.2.
|
|
65
|
+
"npm-check-updates": "^10.2.2",
|
|
66
66
|
"npm-registry-fetch": "^9.0.0",
|
|
67
67
|
"open": "^7.3.0",
|
|
68
68
|
"ora": "^5.1.0",
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
"simple-git": "^2.23.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@babel/cli": "^7.12.
|
|
76
|
-
"@babel/core": "^7.12.
|
|
75
|
+
"@babel/cli": "^7.12.7",
|
|
76
|
+
"@babel/core": "^7.12.7",
|
|
77
77
|
"@babel/node": "^7.12.6",
|
|
78
78
|
"@leverege/babel-preset-leverege-node": "^1.1.1",
|
|
79
79
|
"@leverege/eslint-config-leverege": "^2.2.0",
|
|
80
|
-
"npm": "^6.14.
|
|
80
|
+
"npm": "^6.14.9"
|
|
81
81
|
}
|
|
82
82
|
}
|
package/src/helmup
CHANGED
|
@@ -13,20 +13,18 @@ PLATFORM=(
|
|
|
13
13
|
messenger
|
|
14
14
|
reason
|
|
15
15
|
scheduler
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
transponder-bq
|
|
17
|
+
transponder-rt
|
|
18
|
+
transponder-postgres
|
|
19
19
|
)
|
|
20
20
|
|
|
21
21
|
SYSTEM=(
|
|
22
|
-
# coredns
|
|
23
22
|
elastic
|
|
24
23
|
redis
|
|
25
24
|
postgres
|
|
26
25
|
velero
|
|
27
26
|
reloader
|
|
28
27
|
monitoring
|
|
29
|
-
# custom-metrics
|
|
30
28
|
)
|
|
31
29
|
|
|
32
30
|
# Simple ANSI color coded string generator.
|
|
@@ -317,6 +315,7 @@ function installVelero() {
|
|
|
317
315
|
kubectl create secret generic velero-credentials --namespace velero --from-file cloud=credentials-velero
|
|
318
316
|
|
|
319
317
|
## Install velero
|
|
318
|
+
helm repo add vmware-tanzu https://vmware-tanzu.github.io/helm-charts
|
|
320
319
|
helm upgrade --install velero vmware-tanzu/velero \
|
|
321
320
|
--namespace velero \
|
|
322
321
|
--set configuration.provider="gcp" \
|
|
@@ -444,6 +443,10 @@ function doInstall() {
|
|
|
444
443
|
printf "\nGithub repo is here => https://github.com/helm/charts/tree/master/stable/coredns\n\n"
|
|
445
444
|
;;
|
|
446
445
|
|
|
446
|
+
"custom-metrics")
|
|
447
|
+
kubectl create -f https://raw.githubusercontent.com/GoogleCloudPlatform/k8s-stackdriver/master/custom-metrics-stackdriver-adapter/deploy/production/adapter.yaml
|
|
448
|
+
;;
|
|
449
|
+
|
|
447
450
|
"elastic"|"elasticsearch")
|
|
448
451
|
checkSSDStorageClass
|
|
449
452
|
helm repo add elastic https://helm.elastic.co
|
|
@@ -460,14 +463,6 @@ function doInstall() {
|
|
|
460
463
|
monitoringHelp
|
|
461
464
|
;;
|
|
462
465
|
|
|
463
|
-
"mysql")
|
|
464
|
-
helm upgrade --install mysql stable/mysql -f mysql/mysql-values.yaml --version 1.6.3
|
|
465
|
-
printf "\n***Proxy 4306 with this => kubectl port-forward svc/mysql 4306:3306\n\n"
|
|
466
|
-
printf "\n***Grab MYSQL Root Password => MYSQL_ROOT_PASSWORD=\$(kubectl get secret --namespace default mysql -o jsonpath="{.data.mysql-root-password}" | base64 --decode; echo)"
|
|
467
|
-
printf "\n***Set MYSQL_HOST to 127.0.0.1 and MYSQL_PORT to 4306 and run => mysql -h \${MYSQL_HOST} -P\${MYSQL_PORT} -u root -p\${MYSQL_ROOT_PASSWORD} \n\n"
|
|
468
|
-
printf "\n***Set Make sure to make api-server an admin \n\n"
|
|
469
|
-
;;
|
|
470
|
-
|
|
471
466
|
"polaris")
|
|
472
467
|
helm repo add reactiveops-stable https://charts.reactiveops.com/stable
|
|
473
468
|
helm upgrade --install polaris reactiveops-stable/polaris --namespace polaris
|
|
@@ -488,23 +483,25 @@ function doInstall() {
|
|
|
488
483
|
printf "To start a specific version => `color c 'REDIS_HELM_CHART="v9.1.5" helmup redis'`\n\n"
|
|
489
484
|
;;
|
|
490
485
|
|
|
486
|
+
"reloader")
|
|
487
|
+
helm upgrade --install reloader stakater/reloader
|
|
488
|
+
;;
|
|
489
|
+
|
|
491
490
|
"timescale-db")
|
|
492
491
|
checkTimescalePassword
|
|
493
492
|
helm upgrade --install timescale-db leverege/timescale-db
|
|
494
493
|
;;
|
|
495
494
|
|
|
496
|
-
"
|
|
497
|
-
|
|
495
|
+
"transponder-*")
|
|
496
|
+
# transponders use the same chart but different deployment name
|
|
497
|
+
helm upgrade --install $SERVICE leverege/transponder \
|
|
498
|
+
-f $SERVICE/values.yaml
|
|
498
499
|
;;
|
|
499
500
|
|
|
500
501
|
"velero")
|
|
501
502
|
installVelero # because it's a little more involved
|
|
502
503
|
;;
|
|
503
504
|
|
|
504
|
-
"reloader")
|
|
505
|
-
helm upgrade --install reloader stakater/reloader
|
|
506
|
-
;;
|
|
507
|
-
|
|
508
505
|
*)
|
|
509
506
|
if [ ! -d $SERVICE ] || [ ! -f $SERVICE/values-local.yaml ];
|
|
510
507
|
then
|