Repository navigation
Minerva 0.3.0: Settings, Directory Sign-in and a User Guide
Minerva 0.3.0 moves sign-in setup into the browser: administrators configure OpenID Connect and
LDAP / Active Directory under Settings, test them, and switch them on without a redeploy. It also adds a
built-in User Guide for every markdown option and page element, and a reorganised top bar.
Highlights
- Settings → Authentication. One form per provider, with an Enable switch, every field, and the redirect URI to
register with your identity provider. Values start from the Helm values and secrets; saving stores them in the
Minerva database, where they override the environment, and they take effect immediately. Use environment
settings drops the saved values again. Secrets are write-only: once saved they are never sent back to the browser. - Test before you switch on. Test runs OIDC discovery or an LDAP service-account bind with the saved
settings. For LDAP, enter a username and password to try a real sign-in; the result shows the matched user and
whether they get admin rights. - LDAP / Active Directory ready. LDAPS with your own CA file, search-then-bind with a service account, admin and
allowed groups as full DNs (one per line, since DNs contain commas). Shows up on the sign-in form under the label
you choose. - User Guide. Every markdown option (text, headings, links, images, lists, task lists, tables, code, Mermaid
diagrams, quotes) and every Minerva element (table of contents, child pages, the five panel types, expand
sections, status labels), each with the markdown next to the real rendered result. - New top bar. Logo, Spaces, Create and Search on the left; Settings, User Guide and Help on the right.
Administration moved into Settings as Users and System Status (health checks and modules). - Fixes. Table of contents links now stop just below the sticky breadcrumb bar instead of hiding the heading
under it, and opening a page from the sidebar starts at the top of the page.
Setting up LDAP / Active Directory
- Service account: create a normal directory user for Minerva (for example
svc-minerva) with no extra
rights and a password that does not expire. - Certificate: if your domain controllers use an internal CA, give it to the chart as a ConfigMap (Helm values
extraCA.configMapandextraCA.key). It is mounted at/etc/minerva-ca/<key>(for example
/etc/minerva-ca/ca.crt); enter that path as CA certificate file. - Settings → Authentication → LDAP / Active Directory: fill in the server (
ldaps://dc01.example.com:636),
the service account (DOMAIN\svc-minervaor its DN) and password, the user search base, and the admin group DN.
The default filter(&(objectClass=user)(sAMAccountName={{username}}))suits Active Directory. - Save, then Test with your own username and password. When it reports Signed in as …, tick Enable
and save again.
OpenID Connect works the same way: register the redirect URI shown on the form
(https://<your host>/api/auth/oidc/callback) with your provider, then enter the issuer URL, client ID and secret.
Upgrading from 0.2.x
- No database migration: settings are stored in the existing
settingstable (keysauth.oidcandauth.ldap). - Existing OIDC and LDAP settings from Helm values keep working unchanged until you save in the UI.
- New optional environment variables
OIDC_ENABLEDandLDAP_ENABLED(defaulttrue). - Moved pages (old addresses redirect):
/admin→ Settings → System Status,/about→/help. The markdown
guide is at/guide. - Note: a person who signs in through both OIDC and LDAP gets two Minerva accounts (users are keyed by sign-in
source).
Install
helm upgrade --install minerva https://github.com/uhlix-net/minerva/releases/download/v0.3.0/minerva-0.3.0.tgz \
-n minerva --create-namespace -f values.yamlImage: docker.io/uhlix/minerva:0.3.0 (amd64).
Everything that changed: CHANGELOG.md ·
Full diff: v0.2.5...v0.3.0
