@leverege/build-tools 2.108.1 → 2.110.0
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 +4 -1
- package/src/init-my-chart/Chart.yaml.hbs +1 -1
- package/src/init-my-chart/leaf-chart-templates/templates/loadbalancerservice.yaml +1 -0
- package/src/init-my-chart/leaf-chart-templates/values.schema.json +27 -3
- package/src/init-my-chart/values.yaml.hbs +25 -0
- package/src/test.json +4 -0
- package/.github/dependabot.yml +0 -7
- package/.vscode/launch.json +0 -146
- package/eslint.config.mjs +0 -13
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leverege/build-tools",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.110.0",
|
|
4
4
|
"description": "A collection of build / support tools for Leverege developers",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+ssh://git@bitbucket.org/leverege/build-tools.git"
|
|
9
9
|
},
|
|
10
|
+
"files": [
|
|
11
|
+
"src/"
|
|
12
|
+
],
|
|
10
13
|
"scripts": {
|
|
11
14
|
"lint": "eslint",
|
|
12
15
|
"lint-fix": "eslint --fix",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{{ include "leverege.loadbalancerservice" . }}
|
|
@@ -204,8 +204,32 @@
|
|
|
204
204
|
"required": ["enabled"],
|
|
205
205
|
"properties": {
|
|
206
206
|
"enabled": { "type": "boolean" },
|
|
207
|
-
"livenessProbe": {
|
|
208
|
-
|
|
207
|
+
"livenessProbe": {
|
|
208
|
+
"type": "object",
|
|
209
|
+
"additionalProperties": true,
|
|
210
|
+
"description": "Pod: Liveness probe override. Fields are merged with base defaults — only specify fields you want to change.",
|
|
211
|
+
"properties": {
|
|
212
|
+
"httpGet": { "type": "object", "additionalProperties": true },
|
|
213
|
+
"initialDelaySeconds": { "type": "integer", "minimum": 0 },
|
|
214
|
+
"periodSeconds": { "type": "integer", "minimum": 1 },
|
|
215
|
+
"timeoutSeconds": { "type": "integer", "minimum": 1 },
|
|
216
|
+
"failureThreshold": { "type": "integer", "minimum": 1 },
|
|
217
|
+
"successThreshold": { "type": "integer", "minimum": 1 }
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"readinessProbe": {
|
|
221
|
+
"type": "object",
|
|
222
|
+
"additionalProperties": true,
|
|
223
|
+
"description": "Pod: Readiness probe override. Fields are merged with base defaults — only specify fields you want to change.",
|
|
224
|
+
"properties": {
|
|
225
|
+
"httpGet": { "type": "object", "additionalProperties": true },
|
|
226
|
+
"initialDelaySeconds": { "type": "integer", "minimum": 0 },
|
|
227
|
+
"periodSeconds": { "type": "integer", "minimum": 1 },
|
|
228
|
+
"timeoutSeconds": { "type": "integer", "minimum": 1 },
|
|
229
|
+
"failureThreshold": { "type": "integer", "minimum": 1 },
|
|
230
|
+
"successThreshold": { "type": "integer", "minimum": 1 }
|
|
231
|
+
}
|
|
232
|
+
}
|
|
209
233
|
}
|
|
210
234
|
},
|
|
211
235
|
|
|
@@ -445,7 +469,7 @@
|
|
|
445
469
|
"definitions": {
|
|
446
470
|
"containerPortObject": {
|
|
447
471
|
"type": "object",
|
|
448
|
-
"description": "Kubernetes container port object (Deployment/Pod). Use this for deploymentPorts
|
|
472
|
+
"description": "Kubernetes container port object (Deployment/Pod). Use this for deploymentPorts.*.",
|
|
449
473
|
"additionalProperties": true,
|
|
450
474
|
"required": ["name", "containerPort"],
|
|
451
475
|
"properties": {
|
|
@@ -35,6 +35,9 @@ fullnameOverride: ""
|
|
|
35
35
|
partOf: {{hbsPartOf}} # leverege-stack or project-x - OPTIONAL
|
|
36
36
|
|
|
37
37
|
# overwhelm will auto inject project_id, host and ingress into service
|
|
38
|
+
# When type is LoadBalancer, the main service remains ClusterIP (stable internal
|
|
39
|
+
# name, http + metrics) and a companion <fullname>-loadbalancer service is rendered
|
|
40
|
+
# to handle external traffic (http only, no metrics exposure).
|
|
38
41
|
service:
|
|
39
42
|
project_id: set-in-values-yaml
|
|
40
43
|
preemptible: {{hbsServicePreemptible}} # true or false - OPTIONAL
|
|
@@ -56,8 +59,19 @@ serviceMonitor:
|
|
|
56
59
|
namespace: "default" # namespace where service to scrape resides
|
|
57
60
|
|
|
58
61
|
# liveness and readiness probe to prove k8s health
|
|
62
|
+
# Individual fields are merged with base defaults — only specify what you need to change.
|
|
63
|
+
# Base defaults: liveness => path=/livenessProbe, initialDelaySeconds=30, periodSeconds=60
|
|
64
|
+
# readiness => path=/healthz, initialDelaySeconds=30, periodSeconds=10
|
|
65
|
+
# Unset fields fall back to Kubernetes defaults (timeoutSeconds: 1, failureThreshold: 3,
|
|
66
|
+
# successThreshold: 1). See https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
|
|
59
67
|
probes:
|
|
60
68
|
enabled: true
|
|
69
|
+
# livenessProbe:
|
|
70
|
+
# timeoutSeconds: 10 # k8s default: 1
|
|
71
|
+
# failureThreshold: 5 # k8s default: 3
|
|
72
|
+
# readinessProbe:
|
|
73
|
+
# timeoutSeconds: 5 # k8s default: 1
|
|
74
|
+
# failureThreshold: 5 # k8s default: 3
|
|
61
75
|
|
|
62
76
|
# this tells calico that redis access is needed
|
|
63
77
|
redis:
|
|
@@ -104,3 +118,14 @@ affinity: {}
|
|
|
104
118
|
tolerations: []
|
|
105
119
|
|
|
106
120
|
nodeSelector: {}
|
|
121
|
+
|
|
122
|
+
# Arbitrary additional K8s objects to render with this chart.
|
|
123
|
+
# Each entry should be a full Kubernetes manifest.
|
|
124
|
+
# Templating is supported inside these objects (via tpl).
|
|
125
|
+
extraObjects: []
|
|
126
|
+
# - apiVersion: v1
|
|
127
|
+
# kind: ConfigMap
|
|
128
|
+
# metadata:
|
|
129
|
+
# name: foo
|
|
130
|
+
# data:
|
|
131
|
+
# bar: baz
|
package/src/test.json
ADDED
package/.github/dependabot.yml
DELETED
package/.vscode/launch.json
DELETED
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "0.2.0",
|
|
3
|
-
"configurations": [
|
|
4
|
-
{
|
|
5
|
-
"name": "Units Tests",
|
|
6
|
-
"type": "node",
|
|
7
|
-
"request": "launch",
|
|
8
|
-
"runtimeExecutable": "npm",
|
|
9
|
-
"runtimeArgs": [
|
|
10
|
-
"run",
|
|
11
|
-
"testNoTimeout"
|
|
12
|
-
],
|
|
13
|
-
"resolveSourceMapLocations": [
|
|
14
|
-
"${workspaceFolder}/**",
|
|
15
|
-
"!**/node_modules/**"
|
|
16
|
-
],
|
|
17
|
-
"env": {
|
|
18
|
-
},
|
|
19
|
-
"outputCapture": "std"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"name": "docker-to-registry pubsub-pulse",
|
|
23
|
-
"type": "node",
|
|
24
|
-
"request": "launch",
|
|
25
|
-
"program": "${workspaceFolder}/src/docker-to-registry.mjs",
|
|
26
|
-
"args": ["v4.2.1-debug.1"],
|
|
27
|
-
"cwd": "/Users/john/Work/leverege/cicd/@srv/pubsub-pulse",
|
|
28
|
-
"runtimeExecutable": "node",
|
|
29
|
-
"console": "integratedTerminal"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "docker-to-registry pitcrew-vision",
|
|
33
|
-
"type": "node",
|
|
34
|
-
"request": "launch",
|
|
35
|
-
"program": "${workspaceFolder}/src/docker-to-registry.mjs",
|
|
36
|
-
"args": ["v1.9.13-john.1"],
|
|
37
|
-
"cwd": "/Users/john/Work/leverege/cicd/@pit/pitcrew-vision-logic-server",
|
|
38
|
-
"runtimeExecutable": "node",
|
|
39
|
-
"console": "integratedTerminal"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"name": "overwhelm tst-dense",
|
|
43
|
-
"type": "node",
|
|
44
|
-
"request": "launch",
|
|
45
|
-
"program": "${workspaceFolder}/src/overwhelm.mjs",
|
|
46
|
-
"args": [],
|
|
47
|
-
"cwd": "/Users/john/Work/leverege/k8s/tst-dense",
|
|
48
|
-
"runtimeExecutable": "node",
|
|
49
|
-
"console": "integratedTerminal"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"name": "push-my-chart rsrc-srvr",
|
|
53
|
-
"type": "node",
|
|
54
|
-
"request": "launch",
|
|
55
|
-
"program": "${workspaceFolder}/src/push-my-chart.mjs",
|
|
56
|
-
"args": [],
|
|
57
|
-
"cwd": "/Users/john/Work/leverege/cicd/@plt/resource-server",
|
|
58
|
-
"runtimeExecutable": "node",
|
|
59
|
-
"console": "integratedTerminal"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"name": "chart-to-registry rsrc-srvr",
|
|
63
|
-
"type": "node",
|
|
64
|
-
"request": "launch",
|
|
65
|
-
"program": "${workspaceFolder}/src/chart-to-registry.mjs",
|
|
66
|
-
"args": [],
|
|
67
|
-
"cwd": "/Users/john/Work/leverege/cicd/@plt/resource-server",
|
|
68
|
-
"runtimeExecutable": "node",
|
|
69
|
-
"console": "integratedTerminal"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"name": "hook-and-release pubsub-pulse",
|
|
73
|
-
"type": "node",
|
|
74
|
-
"request": "launch",
|
|
75
|
-
"program": "${workspaceFolder}/src/hook-and-release.mjs",
|
|
76
|
-
"args": [""],
|
|
77
|
-
"cwd": "/Users/john/Work/leverege/cicd/@srv/pubsub-pulse",
|
|
78
|
-
"runtimeExecutable": "node",
|
|
79
|
-
"console": "integratedTerminal"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"name": "ingestor in monorepo",
|
|
83
|
-
"type": "node",
|
|
84
|
-
"request": "launch",
|
|
85
|
-
"program": "${workspaceFolder}/src/init-my-chart/init-my-chart.mjs",
|
|
86
|
-
"args": [],
|
|
87
|
-
"cwd": "/Users/john/Work/leverege/cicd/@kud/recovr-services/packages/recovr-ingestor",
|
|
88
|
-
"runtimeExecutable": "node",
|
|
89
|
-
"console": "integratedTerminal"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"name": "init-my-chart emailer legacy",
|
|
93
|
-
"type": "node",
|
|
94
|
-
"request": "launch",
|
|
95
|
-
"program": "${workspaceFolder}/src/init-my-chart/init-my-chart.mjs",
|
|
96
|
-
"args": [],
|
|
97
|
-
"cwd": "/Users/john/Work/leverege/cicd/@plt/emailer",
|
|
98
|
-
"runtimeExecutable": "node",
|
|
99
|
-
"console": "integratedTerminal"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"name": "init-my-chart pubsub-pulse",
|
|
103
|
-
"type": "node",
|
|
104
|
-
"request": "launch",
|
|
105
|
-
"program": "${workspaceFolder}/src/init-my-chart/init-my-chart.mjs",
|
|
106
|
-
"args": ["--dry-run"],
|
|
107
|
-
"cwd": "/Users/john/Work/leverege/cicd/@srv/pubsub-pulse",
|
|
108
|
-
"runtimeExecutable": "node",
|
|
109
|
-
"console": "integratedTerminal"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"name": "init-my-chart no helm dir",
|
|
113
|
-
"type": "node",
|
|
114
|
-
"request": "launch",
|
|
115
|
-
"program": "${workspaceFolder}/src/init-my-chart/init-my-chart.mjs",
|
|
116
|
-
"args": ["--dry-run"],
|
|
117
|
-
"cwd": "/Users/john/Work/leverege/cicd/@tst/iggy-pop",
|
|
118
|
-
"runtimeExecutable": "node",
|
|
119
|
-
"console": "integratedTerminal"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"name": "init-my-chart in a lib",
|
|
123
|
-
"type": "node",
|
|
124
|
-
"request": "launch",
|
|
125
|
-
"program": "${workspaceFolder}/src/init-my-chart/init-my-chart.mjs",
|
|
126
|
-
"args": ["--dry-run"],
|
|
127
|
-
"cwd": "/Users/john/Work/leverege/cicd/@lev/secrets",
|
|
128
|
-
"runtimeExecutable": "node",
|
|
129
|
-
"console": "integratedTerminal"
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"name": "service-man (launch)",
|
|
133
|
-
"type": "node",
|
|
134
|
-
"request": "launch",
|
|
135
|
-
"program": "${workspaceFolder}/src/service-man/service-man.mjs",
|
|
136
|
-
"args": ["--dump-configs","dbg-cfgs"],
|
|
137
|
-
"cwd": "/Users/john/Work/leverege/k8s/tst-builder",
|
|
138
|
-
"runtimeExecutable": "node",
|
|
139
|
-
"console": "integratedTerminal",
|
|
140
|
-
"skipFiles": ["<node_internals>/**"],
|
|
141
|
-
"env": {
|
|
142
|
-
"NODE_ENV": "development"
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
]
|
|
146
|
-
}
|
package/eslint.config.mjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import eslintConfig from '@leverege/eslint-config-leverege'
|
|
2
|
-
|
|
3
|
-
export default [
|
|
4
|
-
...eslintConfig,
|
|
5
|
-
{
|
|
6
|
-
rules: {
|
|
7
|
-
'@stylistic/curly-newline': 'off',
|
|
8
|
-
'@stylistic/key-spacing': 'off',
|
|
9
|
-
'@stylistic/object-curly-newline': 'off',
|
|
10
|
-
'@stylistic/nonblock-statement-body-position': 'off'
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
]
|