-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backport New Notebook UI configuration to 1.8 (#364)
* Enable configuration of New Notebook UI (#345) (cherry pick of 3ec71e9 from main) * Enable configuration of New Notebook UI This commit adds configuration for: * the default number of GPUs and the GPUs available * the default PodDefaults selected * the Toleration configurations available * the Affinity configurations available These configurations are enabled through newly exposed charm configs. These configs are lightly validated to ensure they're valid yaml, but not validated enough to ensure things like Tolerations or Affinities are proper Kubernetes yaml (cherry picked from commit 3ec71e9) * Fix spawner_ui_config.yaml to use correct null values for configurations (#361) Previously, the spawner_ui_config.yaml was rendered with empty strings and lists being rendered as null values in the configuration file. For example if the GPU vendors list was empty and the default vendor was `""`, the config file would have (shown truncated): ``` gpus: value: vendor: vendors: ``` whereas jupyter web app expected: ``` gpus: value: vendor: "" vendors: [] ``` This commit updates the template to ensure we always output the correct empty values. Closes #360 (cherry picked from commit 211a37b)
- Loading branch information
1 parent
ab4ae7b
commit 898aecf
Showing
9 changed files
with
914 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
aiohttp | ||
dpath | ||
# Pinning to <4.0 due to compatibility with the 3.1 controller version | ||
juju<4.0 | ||
pytest | ||
pytest-operator | ||
pyyaml | ||
tenacity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.