Skip to content

Commit

Permalink
spark rstudio vscode overwriteSchemaWith
Browse files Browse the repository at this point in the history
  • Loading branch information
fcomte authored Sep 5, 2024
1 parent b70466d commit 8956ba4
Show file tree
Hide file tree
Showing 4 changed files with 418 additions and 371 deletions.
2 changes: 1 addition & 1 deletion charts/rstudio-sparkr/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,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: 1.17.22
version: 1.18.0

dependencies:
- name: library-chart
Expand Down
46 changes: 40 additions & 6 deletions charts/rstudio-sparkr/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@
"title": "custom image",
"type": "boolean",
"description": "use a custom RStudio docker image",
"default": false
"default": false,
"x-onyxia": {
"overwriteSchemaWith": "ide/customImage.json"
}
},
"version": {
"description": "RStudio unsupported version",
Expand All @@ -62,6 +65,9 @@
"spark": {
"description": "spark specific configuration",
"type": "object",
"x-onyxia": {
"overwriteSchemaWith": "spark.json"
},
"properties": {
"sparkui": {
"type": "boolean",
Expand All @@ -80,6 +86,9 @@
"resources": {
"description": "Your service will have at least the requested resources and never more than its limits. No limit for a resource and you can consume everything left on the host machine.",
"type": "object",
"x-onyxia": {
"overwriteSchemaWith": "ide/resources.json"
},
"properties": {
"requests": {
"description": "Guaranteed resources",
Expand Down Expand Up @@ -154,6 +163,9 @@
"persistence": {
"description": "Configuration for persistence",
"type": "object",
"x-onyxia": {
"overwriteSchemaWith": "ide/persistence.json"
},
"properties": {
"enabled": {
"type": "boolean",
Expand All @@ -171,6 +183,10 @@
"sliderMax": 100,
"sliderStep": 1,
"sliderUnit": "Gi",
"x-onyxia": {
"overwriteDefaultWith": "region.resources.disk",
"useRegionSliderConfig": "disk"
},
"hidden": {
"value": false,
"path": "persistence/enabled"
Expand All @@ -181,6 +197,9 @@
"init": {
"description": "Init parameters",
"type": "object",
"x-onyxia": {
"overwriteSchemaWith": "ide/init.json"
},
"properties": {
"regionInit": {
"type": "string",
Expand All @@ -206,6 +225,9 @@
"kubernetes": {
"description": "configuration of your kubernetes access",
"type": "object",
"x-onyxia": {
"overwriteSchemaWith": "ide/role.json"
},
"properties": {
"enabled": {
"type": "boolean",
Expand All @@ -215,7 +237,7 @@
"role": {
"type": "string",
"description": "bind your service account to this kubernetes default role",
"default": "admin",
"default": "view",
"hidden": {
"value": false,
"path": "kubernetes/enabled"
Expand All @@ -231,6 +253,9 @@
"vault": {
"description": "Configuration of vault client",
"type": "object",
"x-onyxia": {
"overwriteSchemaWith": "ide/vault.json"
},
"properties": {
"enabled": {
"type": "boolean",
Expand Down Expand Up @@ -296,6 +321,9 @@
"s3": {
"description": "Configuration of temporary identity",
"type": "object",
"x-onyxia": {
"overwriteSchemaWith": "ide/s3.json"
},
"properties": {
"enabled": {
"type": "boolean",
Expand Down Expand Up @@ -364,6 +392,9 @@
"git": {
"description": "Git user configuration",
"type": "object",
"x-onyxia": {
"overwriteSchemaWith": "ide/git.json"
},
"properties": {
"enabled": {
"type": "boolean",
Expand Down Expand Up @@ -555,8 +586,9 @@
"description": "NodeSelector",
"default": {},
"x-onyxia": {
"hidden": true,
"overwriteDefaultWith": "region.nodeSelector"
"hidden": false,
"overwriteDefaultWith": "region.nodeSelector",
"overwriteSchemaWith": "nodeSelector.json"
}
},
"ingress": {
Expand Down Expand Up @@ -737,7 +769,8 @@
"default": {},
"x-onyxia": {
"hidden": true,
"overwriteDefaultWith": "region.startupProbe"
"overwriteDefaultWith": "region.startupProbe",
"overwriteSchemaWith": "ide/startupProbe.json"
}
},
"tolerations": {
Expand All @@ -746,7 +779,8 @@
"default": [],
"x-onyxia": {
"hidden": true,
"overwriteDefaultWith": "region.tolerations"
"overwriteDefaultWith": "region.tolerations",
"overwriteSchemaWith": "tolerations.json"
}
},
"userPreferences": {
Expand Down
2 changes: 1 addition & 1 deletion charts/vscode-pyspark/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: 1.3.41
version: 1.4.0

dependencies:
- name: library-chart
Expand Down
Loading

0 comments on commit 8956ba4

Please sign in to comment.