diff --git a/charts/argo-workflows/Chart.yaml b/charts/argo-workflows/Chart.yaml index 8c1dca2b..ac3dd133 100644 --- a/charts/argo-workflows/Chart.yaml +++ b/charts/argo-workflows/Chart.yaml @@ -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 diff --git a/charts/argo-workflows/values.schema.json b/charts/argo-workflows/values.schema.json index 0b59b97c..434d594a 100644 --- a/charts/argo-workflows/values.schema.json +++ b/charts/argo-workflows/values.schema.json @@ -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" + } } } } @@ -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" + } + } + } + } + } } } }