Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

management-portal 1.1.2 --> 1.1.3 add ory idp #113

Merged
merged 1 commit into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions charts/management-portal/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "2.0.0"
description: A Helm chart for RADAR-Base Management Portal to manage projects and participants throughout RADAR-base.
name: management-portal
version: 1.1.2
version: 1.1.3
icon: "http://radar-base.org/wp-content/uploads/2022/09/Logo_RADAR-Base-RGB.png"
sources:
- https://github.com/RADAR-base/radar-helm-charts/tree/main/charts/management-portal
Expand All @@ -19,9 +19,9 @@ maintainers:
- email: keyvan@thehyve.nl
name: Keyvan Hedayati
url: https://www.thehyve.nl
- email: joris@thehyve.nl
name: Joris Borgdorff
url: https://www.thehyve.nl/experts/joris-borgdorff
- email: bastiaan@thehyve.nl
name: Bastiaan de Graaf
url: https://www.thehyve.nl/experts/bastiaan-de-graaf
- email: nivethika@thehyve.nl
name: Nivethika Mahasivam
url: https://www.thehyve.nl/experts/nivethika-mahasivam
10 changes: 7 additions & 3 deletions charts/management-portal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# management-portal
[![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/management-portal)](https://artifacthub.io/packages/helm/radar-base/management-portal)

![Version: 1.1.2](https://img.shields.io/badge/Version-1.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.0](https://img.shields.io/badge/AppVersion-2.0.0-informational?style=flat-square)
![Version: 1.1.3](https://img.shields.io/badge/Version-1.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.0](https://img.shields.io/badge/AppVersion-2.0.0-informational?style=flat-square)

A Helm chart for RADAR-Base Management Portal to manage projects and participants throughout RADAR-base.

Expand All @@ -14,7 +14,7 @@ A Helm chart for RADAR-Base Management Portal to manage projects and participant
| Name | Email | Url |
| ---- | ------ | --- |
| Keyvan Hedayati | <keyvan@thehyve.nl> | <https://www.thehyve.nl> |
| Joris Borgdorff | <joris@thehyve.nl> | <https://www.thehyve.nl/experts/joris-borgdorff> |
| Bastiaan de Graaf | <bastiaan@thehyve.nl> | <https://www.thehyve.nl/experts/bastiaan-de-graaf> |
| Nivethika Mahasivam | <nivethika@thehyve.nl> | <https://www.thehyve.nl/experts/nivethika-mahasivam> |

## Source Code
Expand Down Expand Up @@ -88,10 +88,14 @@ A Helm chart for RADAR-Base Management Portal to manage projects and participant
| postgres.ssl.keystore | string | `""` | base64 encoded certificate needed to connect to the PostgreSQL With helmfile, this can be set in a production.yaml.gotmpl file by setting keystore: {{ readFile "certificate.pem" | b64enc | quote }} or with SOPS keystore: {{ exec "sops" (list "-d" "certificate.pem") | b64enc | quote }} |
| server_name | string | `"localhost"` | domain name of the server |
| catalogue_server | string | `"catalog-server"` | Hostname of the catalogue-server |
| managementportal.catalogue_server_enable_auto_import | string | `"false"` | set to true, if automatic source-type import from catalogue server should be enabled |
| identity_server.admin_email | string | `"admin@example.com"` | The admin email to link to the admin service account. This account should only be used to set up admin-users |
| identity_server.server_url | string | `"https://my.example-domain.net/kratos"` | The publicly accessible server URL for the IDP |
| identity_server.server_admin_url | string | `"http://kratos-admin"` | The admin server URL for the IDP. Only needs to be accessible from inside the cluster where the managementportal resides |
| managementportal.catalogue_server_enable_auto_import | bool | `false` | set to true, if automatic source-type import from catalogue server should be enabled |
| managementportal.common_privacy_policy_url | string | `"http://info.thehyve.nl/radar-cns-privacy-policy"` | Override with a publicly resolvable url of the privacy-policy url for your set-up. This can be overridden on a project basis as well. |
| managementportal.oauth_checking_key_aliases_0 | string | `"radarbase-managementportal-ec"` | Keystore alias to sign JWT tokens from Management Portal |
| managementportal.oauth_checking_key_aliases_1 | string | `"selfsigned"` | Keystore alias to sign JWT tokens from Management Portal |
| managementportal.oauth_require_aal2 | bool | `true` | Whether or not to require AAL2 level authentication (i.e. MFA) |
| managementportal.frontend_client_secret | string | `"xxx"` | OAuth2 Client secret of the Management Portal frontend application |
| managementportal.common_admin_password | string | `"xxx"` | Admin password of the default admin user created by the system |
| smtp.enabled | bool | `false` | set to true, if SMTP server should be enabled. Required to be true for production setup |
Expand Down
6 changes: 6 additions & 0 deletions charts/management-portal/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ spec:
value: "{{ .Values.managementportal.catalogue_server_enable_auto_import }}"
- name: MANAGEMENTPORTAL_CATALOGUE_SERVER_SERVER_URL
value: http://{{ .Values.catalogue_server }}:9010/source-types
- name: MANAGEMENTPORTAL_IDENTITY_SERVER_ADMIN_EMAIL
value: {{ .Values.identity_server.admin_email }}
- name: MANAGEMENTPORTAL_IDENTITY_SERVER_SERVER_URL
value: {{ .Values.identity_server.server_url }}
- name: MANAGEMENTPORTAL_IDENTITY_SERVER_SERVER_ADMIN_URL
value: {{ .Values.identity_server.server_admin_url }}
- name: MANAGEMENTPORTAL_COMMON_ADMIN_PASSWORD
valueFrom:
secretKeyRef:
Expand Down
14 changes: 13 additions & 1 deletion charts/management-portal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -289,15 +289,27 @@ postgres:
server_name: localhost
# -- Hostname of the catalogue-server
catalogue_server: catalog-server

# Settings pertaining to the identity provider (IDP)
identity_server:
# -- The admin email to link to the admin service account. This account should only be used to set up admin-users
admin_email: admin@example.com
# -- The publicly accessible server URL for the IDP
server_url: https://my.example-domain.net/kratos
# -- The admin server URL for the IDP. Only needs to be accessible from inside the cluster where the managementportal resides
server_admin_url: http://kratos-admin

managementportal:
# -- set to true, if automatic source-type import from catalogue server should be enabled
catalogue_server_enable_auto_import: "false"
catalogue_server_enable_auto_import: false
# -- Override with a publicly resolvable url of the privacy-policy url for your set-up. This can be overridden on a project basis as well.
common_privacy_policy_url: http://info.thehyve.nl/radar-cns-privacy-policy
# -- Keystore alias to sign JWT tokens from Management Portal
oauth_checking_key_aliases_0: radarbase-managementportal-ec
# -- Keystore alias to sign JWT tokens from Management Portal
oauth_checking_key_aliases_1: selfsigned
# -- Whether or not to require AAL2 level authentication (i.e. MFA)
oauth_require_aal2: true
# -- OAuth2 Client secret of the Management Portal frontend application
frontend_client_secret: xxx
# -- Admin password of the default admin user created by the system
Expand Down
Loading