Skip to content

Commit f4eed3d

Browse files
authored
[Rstudio and pysparck charts] missing openshiftSCC option (#221)
1 parent bb57b47 commit f4eed3d

25 files changed

Lines changed: 175 additions & 5 deletions

charts/jupyter-pyspark/Chart.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ type: application
2424
# This is the chart version. This version number should be incremented each time you make changes
2525
# to the chart and its templates, including the app version.
2626
# Versions are expected to follow Semantic Versioning (https://semver.org/)
27-
version: 2.3.0
27+
28+
version: 2.3.1
2829
dependencies:
2930
- name: library-chart
3031
version: 1.7.0

charts/jupyter-pyspark/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ The JupyterLab IDE with PySpark, an interface to use Apache Spark from Python.
7676
| networking.user.port | int | `5000` | |
7777
| networking.user.ports | list | `[]` | |
7878
| nodeSelector | object | `{}` | |
79+
| openshiftSCC.enabled | bool | `false` | |
80+
| openshiftSCC.scc | string | `""` | |
7981
| persistence.accessMode | string | `"ReadWriteOnce"` | |
8082
| persistence.enabled | bool | `true` | |
8183
| persistence.size | string | `"10Gi"` | |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{ include "library-chart.roleBindingSCC" . }}

charts/jupyter-pyspark/values.schema.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,33 @@
713713
"overwriteSchemaWith": "nodeSelector.json"
714714
}
715715
},
716+
"openshiftSCC": {
717+
"description": "configuration for openshift compatibility",
718+
"type": "object",
719+
"x-onyxia": {
720+
"overwriteSchemaWith": "ide/openshiftSCC.json"
721+
},
722+
"properties": {
723+
"enabled": {
724+
"description": "enable rolebinding with openshift scc",
725+
"type": "boolean",
726+
"default": false,
727+
"x-onyxia": {
728+
"hidden": true,
729+
"overwriteDefaultWith": "region.openshiftSCC.enabled"
730+
}
731+
},
732+
"scc": {
733+
"type": "string",
734+
"description": "name of scc for rolebinding",
735+
"default": "anyuid",
736+
"x-onyxia": {
737+
"hidden": true,
738+
"overwriteDefaultWith": "region.openshiftSCC.scc"
739+
}
740+
}
741+
}
742+
},
716743
"ingress": {
717744
"title": "Ingress Details",
718745
"type": "object",

charts/jupyter-pyspark/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,10 @@ userPreferences:
258258
darkMode: false
259259
language: "en"
260260

261+
openshiftSCC:
262+
enabled: false
263+
scc: ""
264+
261265
certificates: {}
262266
# pathToCaBundle: /usr/local/share/ca-certificates/
263267
# cacerts: ""

charts/rstudio-gpu/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sources:
1111
- https://github.com/InseeFrLab/images-datascience
1212
- https://github.com/InseeFrLab/helm-charts-interactive-services
1313
type: application
14-
version: 2.3.0
14+
version: 2.3.1
1515
dependencies:
1616
- name: library-chart
1717
version: 1.7.0

charts/rstudio-gpu/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ The RStudio IDE with a collection of standard data science packages, with GPU su
6565
| networking.user.port | int | `5000` | |
6666
| networking.user.ports | list | `[]` | |
6767
| nodeSelector | object | `{}` | |
68+
| openshiftSCC.enabled | bool | `false` | |
69+
| openshiftSCC.scc | string | `""` | |
6870
| persistence.accessMode | string | `"ReadWriteOnce"` | |
6971
| persistence.enabled | bool | `true` | |
7072
| persistence.size | string | `"10Gi"` | |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{ include "library-chart.roleBindingSCC" . }}

charts/rstudio-gpu/values.schema.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,33 @@
650650
"overwriteSchemaWith": "nodeSelector-gpu.json"
651651
}
652652
},
653+
"openshiftSCC": {
654+
"description": "configuration for openshift compatibility",
655+
"type": "object",
656+
"x-onyxia": {
657+
"overwriteSchemaWith": "ide/openshiftSCC.json"
658+
},
659+
"properties": {
660+
"enabled": {
661+
"description": "enable rolebinding with openshift scc",
662+
"type": "boolean",
663+
"default": false,
664+
"x-onyxia": {
665+
"hidden": true,
666+
"overwriteDefaultWith": "region.openshiftSCC.enabled"
667+
}
668+
},
669+
"scc": {
670+
"type": "string",
671+
"description": "name of scc for rolebinding",
672+
"default": "anyuid",
673+
"x-onyxia": {
674+
"hidden": true,
675+
"overwriteDefaultWith": "region.openshiftSCC.scc"
676+
}
677+
}
678+
}
679+
},
653680
"ingress": {
654681
"title": "Ingress Details",
655682
"type": "object",

charts/rstudio-gpu/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ startupProbe:
120120
userPreferences:
121121
darkMode: false
122122
language: en
123+
openshiftSCC:
124+
enabled: false
125+
scc: ""
123126
proxy:
124127
enabled: false
125128
noProxy: ''

0 commit comments

Comments
 (0)