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

Commit

Permalink
argo workflow tolearation nodeselector from
Browse files Browse the repository at this point in the history
  • Loading branch information
fcomte committed Jul 23, 2022
1 parent f87ada5 commit afbc178
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/argo-workflows/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,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: 2.1.0
version: 2.2.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
81 changes: 81 additions & 0 deletions charts/argo-workflows/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,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 All @@ -83,6 +102,68 @@
"pattern": "^[a-z0-9-]+$"
}
}
},
"argo-workflows": {
"type": "object",
"title": "argocd",
"properties": {
"server": {
"type": "object",
"title": "controller",
"properties": {
"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"
}
}
}
},
"controller": {
"type": "object",
"title": "controller",
"properties": {
"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"
}
}
}
}
}
}
}
}

0 comments on commit afbc178

Please sign in to comment.