Skip to content

User Portal

Prerequisites

Before we dive in to the deploying the user-portal, please make sure that you have the following configuration in place.

LDAP

It is required that we have a user in LDAP - so the user-portal can create/edit users.

create portal user

Create portal-user.ldif
dn: uid=portal,ou=People,dc=tugraz,dc=at
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
uid: portal
mail: portal@example.com
sn: SeviceAccount
givenName: PORTAL
cn: portal
title: Other
o: N/A
departmentNumber: N/A
uidNumber: 40003
gidNumber: 10003
homeDirectory: /home/portal
Apply ldap file
# replace LDAP_PASSWORD 
ldapadd -x -D "cn=Manager,dc=tugraz,dc=at" -w "LDAP_PASSWORD" -f portal-user.ldif

# create a password for the user
## replace PORTAL_PASSWORD & LDAP_PASSWORD
ldappasswd -x -D cn=Manager,dc=tugraz,dc=at -w "LDAP_PASSWORD" -s "PORTAL_PASSWORD" "uid=portal,ou=People,dc=tugraz,dc=at"

Add portal user to admim group

Create portal-de_admin.ldif
dn: cn=de_admins,ou=Groups,dc=tugraz,dc=at
changetype: modify
add: memberUid
memberUid: portal
Apply ldap file
# replace LDAP_PASSWORD
## add user to the de_admin group
ldapmodify -x -D "cn=Manager,dc=tugraz,dc=at" -w "LDAP_PASSWORD" -f portal-de_admin.ldif

iRODs

For user-portal we would need to create an irods rodsadmin user.

# replace YOURPASSWORDHERE 
## su - irods
iadmin mkuser portal rodsadmin
iadmin moduser portal password YOURPASSWORDHERE

Database

For Database configuration and setup vist portal-db docs.

Deploy

The kustomize manifests can be found in repository https://github.com/cyverse-austria/portal you can clone this repository and follow the README guide.

# create ns
kubectl create ns user-portal

# deploy 
kubectl apply -k /base -n user-portal