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

Commit

Permalink
blazingsql toleration nodeselector from
Browse files Browse the repository at this point in the history
  • Loading branch information
fcomte committed Jul 23, 2022
1 parent afbc178 commit b70a015
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/blazingsql/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 4.2.0
version: 4.3.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
5 changes: 5 additions & 0 deletions charts/blazingsql/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ spec:
httpGet:
path: /
port: http
startupProbe:
httpGet:
path: /
port: http
{{- toYaml .Values.startupProbe | nindent 12 }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
Expand Down
54 changes: 53 additions & 1 deletion charts/blazingsql/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,25 @@
"x-onyxia": {
"overwriteDefaultWith": "region.defaultNetworkPolicy"
}
},
"from": {
"type": "array",
"description": "Array of source allowed to have network access to your service",
"default" : [
{
"namespaceSelector": {
"matchLabels": {
"kubernetes.io/metadata.name": "ingress"
}
}
}
],
"x-form": {
"value": "{{region.from}}"
},
"x-onyxia": {
"overwriteDefaultWith": "region.from"
}
}
}
}
Expand Down Expand Up @@ -503,6 +522,39 @@
"default": ""
}
}
}
},
"startupProbe": {
"type": "object",
"description": "Start up probe",
"default": {},
"x-form": {
"value": "{{region.startupProbe}}"
},
"x-onyxia": {
"overwriteDefaultWith": "region.startupProbe"
}
},
"tolerations": {
"type": "array",
"description": "Array of tolerations",
"default": [],
"x-form": {
"value": "{{region.tolerations}}"
},
"x-onyxia": {
"overwriteDefaultWith": "region.tolerations"
}
},
"nodeSelector": {
"type": "object",
"description": "NodeSelector",
"default": {},
"x-form": {
"value": "{{region.nodeSelector}}"
},
"x-onyxia": {
"overwriteDefaultWith": "region.nodeSelector"
}
}
}
}
2 changes: 2 additions & 0 deletions charts/blazingsql/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,5 @@ nodeSelector: {}
tolerations: []

affinity: {}

startupProbe: {}

0 comments on commit b70a015

Please sign in to comment.