diff --git a/docs/internal/deployments/data.tsx b/docs/internal/deployments/data.tsx index 3de9cc9..a3b34b0 100644 --- a/docs/internal/deployments/data.tsx +++ b/docs/internal/deployments/data.tsx @@ -43,7 +43,7 @@ const deployments: DeploymentInfo[] = [

Login account credentials can be obtained from{' '} + href="https://console.apps.shift.nerc.mghpcc.org/k8s/ns/hosting-of-medical-image-analysis-platform-dcb83b/secrets/orthanc-user"> OpenShift Console .

diff --git a/docs/internal/deployments/index.mdx b/docs/internal/deployments/index.mdx index 9efe62d..c3665af 100644 --- a/docs/internal/deployments/index.mdx +++ b/docs/internal/deployments/index.mdx @@ -8,4 +8,12 @@ This page is a list of all our deployments. Status page: https://fnndsc.github.io/statuspage/ +:::tip + +If the details say that the account username and/or password can be obtained from a +URL which looks like `https://console.apps.shift.nerc.mghpcc.org/k8s/ns/.../secrets/...`, +follow the instructions here: [how to get secrets from OpenShift Console](./nerc/secrets). + +::: + diff --git a/docs/internal/nerc/secrets/cilogin.png b/docs/internal/nerc/secrets/cilogin.png new file mode 100644 index 0000000..e9ffd5c Binary files /dev/null and b/docs/internal/nerc/secrets/cilogin.png differ diff --git a/docs/internal/nerc/secrets/index.md b/docs/internal/nerc/secrets/index.md new file mode 100644 index 0000000..12f4cd1 --- /dev/null +++ b/docs/internal/nerc/secrets/index.md @@ -0,0 +1,28 @@ +# Getting Secrets from OpenShift Console + +Username and password for admin accounts of our services deployed on the +NERC OpenShift Platform (NERC-OCP) are stored as Kubernetes secrets, which +are accessible from the OpenShift web console. The console's URL is + +https://console.apps.shift.nerc.mghpcc.org + +A direct link to a secret looks like + +https://console.apps.shift.nerc.mghpcc.org/k8s/ns/hosting-of-medical-image-analysis-platform-dcb83b/secrets/ackee-password + +## How to Get a Secret's Value from the OpenShift Console + +Click on the direct link to the secret, then log in. + +![Screenshot of OpenShift Console login page](./login.png) + +Most of us log in using the "mss-keycloak" option, which redirects us to +university/academic institution login pages. + +![CILogoon institution selection](./cilogin.png) + +After logging in, you will see details about the secret. +Scroll down to the bottom section titled "Data". On the bottom right side +there are buttons to either reveal all values, or to copy-paste a specific value. + +![Screenshot of secret details in OpenShift Console](./secret.png) diff --git a/docs/internal/nerc/secrets/login.png b/docs/internal/nerc/secrets/login.png new file mode 100644 index 0000000..81f6db4 Binary files /dev/null and b/docs/internal/nerc/secrets/login.png differ diff --git a/docs/internal/nerc/secrets/secret.png b/docs/internal/nerc/secrets/secret.png new file mode 100644 index 0000000..376e130 Binary files /dev/null and b/docs/internal/nerc/secrets/secret.png differ