@leverege/build-tools 2.50.10 → 2.50.12

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.50.10",
3
+ "version": "2.50.12",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -61,10 +61,10 @@
61
61
  "command-line-usage": "^7.0.1",
62
62
  "deepmerge": "^4.3.1",
63
63
  "enquirer": "^2.4.1",
64
- "execa": "^8.0.1",
65
- "glob": "^10.3.16",
64
+ "execa": "^9.1.0",
65
+ "glob": "^10.4.1",
66
66
  "handlebars": "^4.7.8",
67
- "inquirer": "^9.2.22",
67
+ "inquirer": "^9.2.23",
68
68
  "js-yaml": "^4.1.0",
69
69
  "ms": "^2.1.3",
70
70
  "npm-registry-fetch": "^17.0.1",
@@ -74,10 +74,10 @@
74
74
  "readline-sync": "^1.4.10",
75
75
  "semver": "^7.6.2",
76
76
  "simple-git": "^3.24.0",
77
- "zx": "^8.1.0"
77
+ "zx": "^8.1.2"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@leverege/eslint-config-leverege": "^4.2.0",
81
- "npm": "^10.8.0"
81
+ "npm": "^10.8.1"
82
82
  }
83
83
  }
@@ -1,5 +1,11 @@
1
+ # migrations
2
+ # v5.11.0+
3
+ # - k8x api-server pod
4
+ # - node tools/UpdateESComponentTemplateV2.js
5
+ # - node tools/UpdateESMappingV2.js
6
+ #
1
7
  image:
2
- tag: # v5.12.1
8
+ tag: # v5.12.3
3
9
 
4
10
  config:
5
11
  LOG_CONFIG: '{"type":"pino","level":"warn"}'
@@ -1,10 +1,13 @@
1
+ # migrations
2
+ # v2.1.0+
3
+ # - k8x authz-server
4
+ # - npm run sequelizeRunMigrations
5
+ #
1
6
  image:
2
- tag: # v2.1.2
7
+ tag: # v2.1.3
3
8
 
4
9
  config:
5
10
  LOG_CONFIG: '{"type":"pino","level":"warn"}'
6
- IN_MEM_CONTROLLER_ACTIVE: "false"
7
- USE_MEMORY_CONTROLLER_CHECK_MODE : "false"
8
11
 
9
12
  # CNPG override
10
13
  # SQL_HOST: "cnpg-db-psql-stack-rw.cnpg-operands" # vs postgres-postgresql
@@ -1,5 +1,5 @@
1
1
  image:
2
- tag: # v3.4.1
2
+ tag: # v3.5.1
3
3
 
4
4
  config:
5
5
  LOG_CONFIG: '{"type":"pino","level":"warn"}'
@@ -1,6 +1,5 @@
1
1
  # ONLY EDIT grafana-local.yaml.ovh / grafana-local.yaml is git ignored
2
2
  service:
3
- type: "NodePort"
4
3
  port: "9000"
5
4
 
6
5
  datasources:
@@ -39,7 +38,7 @@ tolerations:
39
38
  effect: "NoSchedule"
40
39
 
41
40
  extraObjects:
42
- - apiVersion: traefik.containo.us/v1alpha1
41
+ - apiVersion: traefik.io/v1alpha1
43
42
  kind: IngressRoute
44
43
  metadata:
45
44
  name: grafana
@@ -1,5 +1,5 @@
1
1
  image:
2
- tag: # v3.6.1
2
+ tag: # v4.0.0
3
3
 
4
4
  config:
5
5
  LOG_CONFIG: '{"type":"pino","level":"warn"}'
@@ -1,5 +1,5 @@
1
1
  image:
2
- tag: # v2.10.2
2
+ tag: # v2.11.1
3
3
 
4
4
  config:
5
5
  LOG_CONFIG: '{"type":"pino","level":"warn"}'
@@ -4,7 +4,7 @@ showInstalling "Redis"
4
4
 
5
5
  OCI_CHART="oci://registry-1.docker.io/bitnamicharts/redis"
6
6
 
7
- [ -z "$REDIS_CHART_VERSION" ] && REDIS_CHART_VERSION="19.1.2"
7
+ [ -z "$REDIS_CHART_VERSION" ] && REDIS_CHART_VERSION="19.5.0"
8
8
 
9
9
  helm upgrade --install redis $OCI_CHART \
10
10
  --values redis/redis-local.yaml \
@@ -25,6 +25,11 @@ master:
25
25
  persistence:
26
26
  size: 8Gi # 8Gi is default
27
27
 
28
+ resources:
29
+ requests:
30
+ cpu: 250m
31
+ memory: 500Mi
32
+
28
33
  replica:
29
34
  affinity:
30
35
  nodeAffinity:
@@ -45,6 +50,11 @@ replica:
45
50
  persistence:
46
51
  size: 8Gi # 8Gi is default
47
52
 
53
+ resources:
54
+ requests:
55
+ cpu: 250m
56
+ memory: 500Mi
57
+
48
58
  architecture: replication
49
59
 
50
60
  sentinel:
@@ -1,8 +1,10 @@
1
1
  # migrations
2
- # v1.2+ run => npm run sequelizeRunMigrations
2
+ # v1.2+
3
+ # - k8x resource-server
4
+ # - npm run sequelizeRunMigrations
3
5
  #
4
6
  image:
5
- tag: # v1.2.1
7
+ tag: # v1.2.2
6
8
 
7
9
  config:
8
10
  LOG_CONFIG: '{"type":"pino","level":"warn"}'
@@ -1,5 +1,5 @@
1
1
  image:
2
- tag: # v2.2.2
2
+ tag: # v2.3.1
3
3
 
4
4
  config:
5
5
  LOG_CONFIG: '{"type":"pino","level":"warn"}'
@@ -5,7 +5,11 @@
5
5
  # ***REMEMBER*** the instructions provided on the internet typically assume
6
6
  # the default namespace not traefik
7
7
  #
8
- # ***DO NOT FORGET*** the -n traefik for kubectl commands
8
+ # ***DO NOT FORGET*** the -n traefik for kubectl commands - so in order to
9
+ # move beyond v20 of the chart run the kubectl command below before upgrading
10
+ #
11
+ # kubectl apply --namespace traefik --server-side \
12
+ # --force-conflicts -k https://github.com/traefik/traefik-helm-chart/traefik/crds/\?ref\=v27
9
13
  #
10
14
  showInstalling "Traefik Load Balancer / Router"
11
15
 
@@ -1,7 +1,7 @@
1
1
  nameOverride: transponder-bq
2
2
 
3
3
  image:
4
- tag: # v5.2.0
4
+ tag: # v5.2.2
5
5
 
6
6
  config:
7
7
  TRANSPONDER_RUN_MODE: "bigQueryJson"
@@ -1,7 +1,7 @@
1
1
  nameOverride: transponder-dh
2
2
 
3
3
  image:
4
- tag: # v5.2.0
4
+ tag: # v5.2.2
5
5
 
6
6
  config:
7
7
  TRANSPONDER_RUN_MODE: "denseHistoryCombined"
@@ -1,7 +1,7 @@
1
1
  nameOverride: transponder-rt
2
2
 
3
3
  image:
4
- tag: # v5.2.0
4
+ tag: # v5.2.2
5
5
 
6
6
  config:
7
7
  TRANSPONDER_RUN_MODE: "rt"
@@ -7,7 +7,7 @@
7
7
  nameOverride: transponder-tsdb
8
8
 
9
9
  image:
10
- tag: # v5.2.0
10
+ tag: # v5.2.2
11
11
 
12
12
  config:
13
13
  TRANSPONDER_RUN_MODE: "timescale"
package/src/overwhelm.mjs CHANGED
@@ -61,6 +61,19 @@ if ( !fs.existsSync( 'overwhelm.yaml' ) ) {
61
61
  process.exit( 1 )
62
62
  }
63
63
 
64
+ if ( fs.existsSync( 'values-default.yaml' ) ) {
65
+ log( chalk.red.bold( `
66
+
67
+ ***ERROR overwhelm => values-default.yaml is no longer used/supported and will
68
+ be ignored - all defaults should be set in default-configs.yaml.ovh
69
+ ` ) )
70
+
71
+ const ans = ask.question( `Enter "${chalk.bold.red( 'skip' )}" if you wish to ignore and continue => ` )
72
+ if ( ans !== 'skip' ) {
73
+ process.exit( 1 )
74
+ }
75
+ }
76
+
64
77
  // Load the default values and then overlay with the project specific yaml
65
78
  // values. This supports the notion of this type of approach in the
66
79
  // overwhelm yaml settings:
@@ -188,7 +201,7 @@ const doReplacements = ( yamls, replacements ) => {
188
201
 
189
202
  // Collect all of the yaml from the yams...
190
203
  const buildYaml = ( yamls, replacements ) => {
191
- const always = [ 'values-default.yaml' ]
204
+ const always = [ 'default-configs.yaml' ]
192
205
  const values = [ ...always, ...yamls ]
193
206
  const loaded = []
194
207
  let allYamls = ''