@leverege/build-tools 2.21.2 → 2.21.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.21.2",
3
+ "version": "2.21.4",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -53,7 +53,8 @@
53
53
  "command-line-args": "^5.2.1",
54
54
  "command-line-usage": "^6.1.3",
55
55
  "deepmerge": "^4.2.2",
56
- "dotenv": "^16.0.1",
56
+ "dotenv": "^16.0.2",
57
+ "enquirer": "^2.3.6",
57
58
  "execa": "^5.1.1",
58
59
  "glob": "^8.0.3",
59
60
  "js-yaml": "^4.1.0",
@@ -61,14 +62,14 @@
61
62
  "parse-gitignore": "^2.0.0",
62
63
  "readline-sync": "^1.4.10",
63
64
  "semver": "^7.3.7",
64
- "simple-git": "^3.13.0",
65
+ "simple-git": "^3.14.0",
65
66
  "zx": "^7.0.8"
66
67
  },
67
68
  "devDependencies": {
68
69
  "@babel/cli": "^7.18.10",
69
- "@babel/core": "^7.18.13",
70
+ "@babel/core": "^7.19.1",
70
71
  "@leverege/babel-preset-leverege-node": "^2.0.0",
71
72
  "@leverege/eslint-config-leverege": "^3.0.1",
72
- "npm": "^8.18.0"
73
+ "npm": "^8.19.2"
73
74
  }
74
75
  }
package/src/.swp ADDED
Binary file
package/src/helmup CHANGED
@@ -307,8 +307,15 @@ SA_EXISTS
307
307
  ## Installing ES exporter
308
308
  helm upgrade --install elasticsearch-exporter prometheus-community/prometheus-elasticsearch-exporter \
309
309
  --namespace monitoring \
310
- --values elasticsearch-exporter/values-es-exporter.yaml \
311
- --version 4.13
310
+ --version 4.13 \
311
+ -f - <<ELASTIC_EXPORTER_CHART_MOD
312
+ service:
313
+ annotations:
314
+ prometheus.io/port: "9108"
315
+ prometheus.io/scrape: "true"
316
+ es:
317
+ uri: http://elasticsearch-master.default.svc.cluster.local:9200
318
+ ELASTIC_EXPORTER_CHART_MOD
312
319
 
313
320
  ## Install Grafana
314
321
  installGrafana
@@ -430,7 +437,7 @@ function installCronZombieKiller() {
430
437
  apiVersion: v1
431
438
  kind: ServiceAccount
432
439
  metadata:
433
- name: cronjob-sa
440
+ name: cron-zombie-sa
434
441
  namespace: default
435
442
  ---
436
443
  apiVersion: rbac.authorization.k8s.io/v1
@@ -450,7 +457,7 @@ metadata:
450
457
  namespace: default
451
458
  subjects:
452
459
  - kind: ServiceAccount
453
- name: cronjob-sa
460
+ name: cron-zombie-sa
454
461
  namespace: default
455
462
  roleRef:
456
463
  kind: Role
@@ -464,7 +471,7 @@ metadata:
464
471
  name: cron-zombie-killer
465
472
  spec:
466
473
  schedule: "*/4 * * * *"
467
- successfulJobsHistoryLimit: 0
474
+ successfulJobsHistoryLimit: 1
468
475
  jobTemplate:
469
476
  spec:
470
477
  template:
@@ -472,7 +479,7 @@ spec:
472
479
  name: cron-zombie-killer
473
480
  namespace: default
474
481
  spec:
475
- serviceAccountName: cronjob-sa
482
+ serviceAccountName: cron-zombie-sa
476
483
  restartPolicy: Never
477
484
  containers:
478
485
  - name: cron-zombie-killer
@@ -873,7 +880,7 @@ function doInstall() {
873
880
  checkSSDStorageClass
874
881
  addHelmRepo elastic https://helm.elastic.co
875
882
  helm upgrade --install elasticsearch elastic/elasticsearch \
876
- --version 7 \
883
+ --version 7.16 \
877
884
  --values $LOCAL_ES_VALUES \
878
885
  --set volumeClaimTemplate.storageClassName="ssd"
879
886
  removeHelmRepo elastic
Binary file
Binary file