Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

Commit f61e41e

Browse files
committed
dataprofiler from startupprobe tolerations nodeselector
1 parent 792125d commit f61e41e

File tree

4 files changed

+63
-8
lines changed

4 files changed

+63
-8
lines changed

charts/data-profiler/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type: application
2121
# This is the chart version. This version number should be incremented each time you make changes
2222
# to the chart and its templates, including the app version.
2323
# Versions are expected to follow Semantic Versioning (https://semver.org/)
24-
version: 0.1.0
24+
version: 0.2.0
2525

2626
# This is the version number of the application being deployed. This version number should be
2727
# incremented each time you make changes to the application. Versions are not expected to

charts/data-profiler/templates/deployment.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ spec:
5454
port: 80
5555
initialDelaySeconds: 15
5656
periodSeconds: 20
57+
startupProbe:
58+
httpGet:
59+
path: /
60+
port: http
61+
{{- toYaml .Values.startupProbe | nindent 12 }}
5762
resources:
5863
{{- toYaml .Values.resources | nindent 12 }}
5964
initContainers:

charts/data-profiler/values.schema.json

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,25 @@
156156
"x-onyxia": {
157157
"overwriteDefaultWith": "region.defaultNetworkPolicy"
158158
}
159+
},
160+
"from": {
161+
"type": "array",
162+
"description": "Array of source allowed to have network access to your service",
163+
"default" : [
164+
{
165+
"namespaceSelector": {
166+
"matchLabels": {
167+
"kubernetes.io/metadata.name": "ingress"
168+
}
169+
}
170+
}
171+
],
172+
"x-form": {
173+
"value": "{{region.from}}"
174+
},
175+
"x-onyxia": {
176+
"overwriteDefaultWith": "region.from"
177+
}
159178
}
160179
}
161180
}
@@ -208,6 +227,39 @@
208227
"default": false
209228
}
210229
}
211-
}
230+
},
231+
"startupProbe": {
232+
"type": "object",
233+
"description": "Start up probe",
234+
"default": {},
235+
"x-form": {
236+
"value": "{{region.startupProbe}}"
237+
},
238+
"x-onyxia": {
239+
"overwriteDefaultWith": "region.startupProbe"
240+
}
241+
},
242+
"tolerations": {
243+
"type": "array",
244+
"description": "Array of tolerations",
245+
"default": [],
246+
"x-form": {
247+
"value": "{{region.tolerations}}"
248+
},
249+
"x-onyxia": {
250+
"overwriteDefaultWith": "region.tolerations"
251+
}
252+
},
253+
"nodeSelector": {
254+
"type": "object",
255+
"description": "NodeSelector",
256+
"default": {},
257+
"x-form": {
258+
"value": "{{region.nodeSelector}}"
259+
},
260+
"x-onyxia": {
261+
"overwriteDefaultWith": "region.nodeSelector"
262+
}
263+
}
212264
}
213265
}

charts/data-profiler/values.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,7 @@ liveness:
4242
security:
4343
networkPolicy:
4444
enabled: false
45-
from:
46-
- ipBlock:
47-
cidr: 10.233.103.0/32
48-
- ipBlock:
49-
cidr: 10.233.111.0/32
45+
from: []
5046
allowlist:
5147
enabled: true
5248
ip: "0.0.0.0/0"
@@ -119,4 +115,6 @@ nodeSelector: {}
119115

120116
tolerations: []
121117

122-
affinity: {}
118+
affinity: {}
119+
120+
startupProbe: {}

0 commit comments

Comments
 (0)