@leverege/build-tools 2.5.14 → 2.5.15

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.
@@ -47,6 +47,9 @@ async function createValuesYAML(name, version, redisAccess, securityContext, pre
47
47
  port: portNumber
48
48
  })
49
49
  },
50
+ "probes": {
51
+ "enabled": "false"
52
+ },
50
53
  "redisClient": {
51
54
  "label": redisAccess
52
55
  },
@@ -89,10 +89,10 @@ const doVersionChecks = async () => {
89
89
  VersionCheck.validate({
90
90
  current: process.version,
91
91
  // this is the node version
92
- minimum: '12.16',
93
- maximum: '13',
92
+ minimum: '12.18.0',
93
+ maximum: '15',
94
94
  // must be less than this
95
- preferred: '12.18.3'
95
+ preferred: '14.15.0'
96
96
  });
97
97
  } catch (err) {
98
98
  console.log(err);
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.5.14",
3
+ "version": "2.5.15",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -60,21 +60,21 @@
60
60
  "git-branch": "^2.0.1",
61
61
  "glob": "^7.1.6",
62
62
  "inquirer": "^7.3.3",
63
- "js-yaml": "^3.14.0",
63
+ "js-yaml": "^3.14.1",
64
64
  "ncp": "^2.0.0",
65
- "npm-check-updates": "^10.2.3",
65
+ "npm-check-updates": "^10.2.5",
66
66
  "npm-registry-fetch": "^9.0.0",
67
67
  "open": "^7.3.0",
68
68
  "ora": "^5.1.0",
69
69
  "parse-gitignore": "^1.0.1",
70
70
  "readline-sync": "^1.4.10",
71
71
  "semver": "^7.3.4",
72
- "simple-git": "^2.24.0"
72
+ "simple-git": "^2.29.0"
73
73
  },
74
74
  "devDependencies": {
75
- "@babel/cli": "^7.12.8",
76
- "@babel/core": "^7.12.9",
77
- "@babel/node": "^7.12.6",
75
+ "@babel/cli": "^7.12.10",
76
+ "@babel/core": "^7.12.10",
77
+ "@babel/node": "^7.12.10",
78
78
  "@leverege/babel-preset-leverege-node": "^1.1.1",
79
79
  "@leverege/eslint-config-leverege": "^2.2.0",
80
80
  "npm": "^6.14.9"
package/src/dockreate CHANGED
@@ -50,7 +50,7 @@ strip_undefined() {
50
50
  # $3 = additional packages to install (htop redis-cli etc)
51
51
  create_Dockerfile() {
52
52
  local regvers="${1}"
53
- local nodeimg="${2:-erbium-alpine}"
53
+ local nodeimg="${2:-fermium-alpine}"
54
54
  local apkadds="${3}"
55
55
  echo "Creating the Dockerfile for node ${nodeimg}"
56
56
  cat<<DOCKERBLD > Dockerfile
package/src/helminit-dp CHANGED
@@ -110,18 +110,19 @@ spec:
110
110
  runAsNonRoot: true
111
111
  runAsUser: 1000
112
112
  allowPrivilegeEscalation: false
113
- # UNCOMMENT IF YOU NEED PROBES
114
- # readinessProbe:
115
- # httpGet:
116
- # path: /healthz
117
- # port: api
118
- # initialDelaySeconds: 10
119
- # livenessProbe:
120
- # httpGet:
121
- # path: /livenessProbe
122
- # port: api
123
- # initialDelaySeconds: 15
124
- # periodSeconds: 60
113
+ {{- if .Values.probes }}{{ if .Values.probes.enabled }}
114
+ readinessProbe:
115
+ httpGet:
116
+ path: /healthz
117
+ port: api
118
+ initialDelaySeconds: 10
119
+ livenessProbe:
120
+ httpGet:
121
+ path: /livenessProbe
122
+ port: api
123
+ initialDelaySeconds: 15
124
+ periodSeconds: 60
125
+ {{- end }}{{ end }}
125
126
  ports:
126
127
  {{- if .Values.$chartName.port }}
127
128
  - name: api