@leverege/build-tools 2.109.0 → 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 +1 -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 +26 -2
- package/src/init-my-chart/values.yaml.hbs +14 -2
- package/src/init-my-chart/leaf-chart-templates/templates/internalservice.yaml +0 -1
package/package.json
CHANGED
|
@@ -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
|
|
|
@@ -35,8 +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,
|
|
39
|
-
# companion <fullname>-
|
|
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).
|
|
40
41
|
service:
|
|
41
42
|
project_id: set-in-values-yaml
|
|
42
43
|
preemptible: {{hbsServicePreemptible}} # true or false - OPTIONAL
|
|
@@ -58,8 +59,19 @@ serviceMonitor:
|
|
|
58
59
|
namespace: "default" # namespace where service to scrape resides
|
|
59
60
|
|
|
60
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/
|
|
61
67
|
probes:
|
|
62
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
|
|
63
75
|
|
|
64
76
|
# this tells calico that redis access is needed
|
|
65
77
|
redis:
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{{ include "leverege.internalservice" . }}
|