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

Commit

Permalink
found more fields to be hidden (#77)
Browse files Browse the repository at this point in the history
- Hidden more service fields
  • Loading branch information
ssb-jnk authored Nov 15, 2023
1 parent 53dc7b3 commit bb4fa8d
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 18 deletions.
2 changes: 1 addition & 1 deletion charts/datadoc/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: 0.2.26
version: 0.2.27

dependencies:
- name: library-chart
Expand Down
10 changes: 8 additions & 2 deletions charts/datadoc/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -394,12 +394,18 @@
"environmentVariableName": {
"type": "string",
"description": "Name of the environment variable to use",
"default": "OIDC_TOKEN"
"default": "OIDC_TOKEN",
"x-onyxia": {
"hidden": true
}
},
"userAttribute": {
"type": "string",
"description": "The user attribute to map to the environment variable",
"default": "access_token"
"default": "access_token",
"x-onyxia": {
"hidden": true
}
},
"value": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion charts/rstudio-dapla/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,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.1.5
version: 1.1.6

dependencies:
- name: library-chart
Expand Down
1 change: 1 addition & 0 deletions charts/rstudio-dapla/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@
"description": "the white list of IP is whitespace",
"title": "Whitelist of IP",
"x-onyxia": {
"hidden": true,
"overwriteDefaultWith": "{{user.ip}}"
},
"hidden": {
Expand Down
2 changes: 1 addition & 1 deletion charts/statbank-pxwebapi/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,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: 0.1.1
version: 0.1.2

dependencies:
- name: library-chart
Expand Down
35 changes: 22 additions & 13 deletions charts/statbank-pxwebapi/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,6 @@
"description": "security specific configuration",
"type": "object",
"properties": {
"password": {
"type": "string",
"description": "Password",
"default": "changeme",
"render": "password",
"x-onyxia": {
"overwriteDefaultWith": "{{project.password}}"
}
},
"allowlist": {
"type": "object",
"description": "IP protection",
Expand All @@ -184,6 +175,7 @@
"description": "Only the configured set of IPs will be able to reach the service",
"default": true,
"x-onyxia": {
"hidden": true,
"overwriteDefaultWith": "region.defaultIpProtection"
}
},
Expand All @@ -192,6 +184,7 @@
"description": "the white list of IP is whitespace",
"title": "Whitelist of IP",
"x-onyxia": {
"hidden": true,
"overwriteDefaultWith": "{{user.ip}}"
},
"hidden": {
Expand All @@ -211,6 +204,7 @@
"description": "Only pod from the same namespace will be allowed",
"default": true,
"x-onyxia": {
"hidden": true,
"overwriteDefaultWith": "region.defaultNetworkPolicy"
}
},
Expand All @@ -233,7 +227,10 @@
"type": "boolean",
"title": "Enable service entry",
"description": "Enable access to external services",
"default": true
"default": true,
"x-onyxia": {
"hidden": true
}
},
"hosts": {
"type": "array",
Expand Down Expand Up @@ -357,12 +354,18 @@
"type": "boolean",
"title": "Enable a custom service port",
"description": "Enable a custom service port",
"default": false
"default": false,
"x-onyxia": {
"hidden": true
}
},
"port": {
"type": "integer",
"description": "port of the custom service",
"title": "Custom service port",
"x-onyxia": {
"hidden": true
},
"hidden": {
"value": false,
"path": "networking/user/enabled"
Expand All @@ -380,12 +383,18 @@
"environmentVariableName": {
"type": "string",
"description": "Name of the environment variable to use",
"default": "OIDC_TOKEN"
"default": "OIDC_TOKEN",
"x-onyxia": {
"hidden": true
}
},
"userAttribute": {
"type": "string",
"description": "The user attribute to map to the environment variable",
"default": "access_token"
"default": "access_token",
"x-onyxia": {
"hidden": true
}
},
"value": {
"type": "string",
Expand Down

0 comments on commit bb4fa8d

Please sign in to comment.