|
1 |
| -openondemand_auth: basic_pam |
| 1 | +openondemand_auth: oidc # or basic_pam |
2 | 2 | openondemand_jupyter_partition: standard
|
3 | 3 | openondemand_desktop_partition: standard
|
4 |
| -#openondemand_dashboard_support_url: |
| 4 | +#openondemand_dashboard_support_url: |
5 | 5 | #openondemand_dashboard_docs_url:
|
6 | 6 | #openondemand_filesapp_paths:
|
| 7 | + |
| 8 | +openondemand_servername: 128.232.226.209 |
| 9 | +openondemand_oidc_provider_url: https://identity.apps.hpc.cam.ac.uk/realms/az-rcp-cloud-portal-demo |
| 10 | +openondemand_oidc_crypto_passphrase: <redacted> |
| 11 | +openondemand_oidc_client_id: ondemand |
| 12 | +openondemand_oidc_client_secret: <redacted> |
| 13 | +openondemand_oidc_scope: "openid profile email" |
| 14 | +openondemand_oidc_remote_user_claim: preferred_username |
| 15 | +# openondemand_oidc_remote_user_claim: email |
| 16 | + |
| 17 | +# add openondemand_apps.shell.env.ood_ssh_wrapper: |
| 18 | +openondemand_apps: |
| 19 | + files: |
| 20 | + env: |
| 21 | + ood_shell: "" |
| 22 | + shell: |
| 23 | + env: |
| 24 | + ood_shell_origin_check: "https://{{ openondemand_servername }}" |
| 25 | + ood_ssh_wrapper: /usr/bin/ood_shell_wrapper # TODO: changeme? |
| 26 | + # this is bash --login -c "cd && exec bash" |
| 27 | + # #!/usr/bin/bash |
| 28 | + dashboard: |
| 29 | + env: |
| 30 | + motd_path: /etc/motd |
| 31 | + motd_format: markdown |
| 32 | + ood_dashboard_support_url: "{{ openondemand_dashboard_support_url }}" |
| 33 | + ood_dashboard_docs_url: "{{ openondemand_dashboard_docs_url }}" |
| 34 | + ood_brand_bg_color: "#0e6ec8" |
| 35 | + ood_dashboard_title: "{{ openhpc_cluster_name }}" |
| 36 | + |
| 37 | +user_map_match: '.*' # map remote user to local user, as-is |
| 38 | +user_map_cmd: null # need to set this to override the default "openondemand" role behaviour of using file-based mapping |
| 39 | + |
| 40 | +# user_map_match: 'waldur_user_.*' |
| 41 | + |
| 42 | +# user_map_cmd: |
| 43 | +# user_map_cmd: "echo waldur_user_$1" |
| 44 | +# user_map_cmd: "echo -e waldur_user_$1 | tr -d '[:space:]'" |
| 45 | + |
| 46 | +# Script manually created on login node with contents: |
| 47 | +# ``` |
| 48 | +# #!/bin/bash |
| 49 | +# echo waldur_user_$1 |
| 50 | +# ``` |
| 51 | +# user_map_cmd: /opt/user-mapper-test.sh |
| 52 | + |
| 53 | +# openondemand_mapping_users: |
| 54 | +# - name: waldur_user_scott-test-user |
| 55 | +# openondemand_username: scott-test-user |
| 56 | + |
| 57 | +# lua_log_level: debug |
| 58 | + |
| 59 | +# user_map_match: 'waldur_user_.*' |
| 60 | +# openondemand_oidc_remote_user_claim: email |
| 61 | + |
| 62 | + |
| 63 | +# oidc_session_inactivity_timeout: 28800 |
| 64 | +# oidc_session_max_duration: 28800 |
| 65 | +# oidc_state_max_number_of_cookies: "10 true" |
| 66 | +# oidc_cookie_same_site: On |
0 commit comments