The portal reef¶
Nereus in the browser: a PWA that signs a person in and shows who they are.
Commands¶
nereus reef apply portal
The portal reef, with no kindsnereus nereid apply nereus-portal
The nereus-portal Nereid requires the authentication reefnereus mandate apply nereus-portal
The publicUrl writes the HTTPRoutecurl https://portal.example.com/healthz
The PWA, its config, and the API behind the person's token
Examples¶
reef-apply¶
The authentication reef and a Nereid of it come first.
nereus reef apply portal
output
✓ core/reefs/portal created (portal.getnereus.dev/v1alpha1)
Next steps:
nereus portal --help
nereus nereid apply <nereid> --reef portal
nereid-apply¶
One process, two ports: 8080 the controller's, inside the cluster, 8081 the portal's.
nereus nereid apply nereus-portal \
--reef portal
output
✓ core/nereids/nereus-portal created, Ready, pinned to sha256:b4f9fe726220: see 'nereus portal --help'
core/mandates/nereus-portal created (reef: portal, nereid: nereus-portal, default)
Next steps:
nereus mandate apply nereus-portal --reef portal --nereid nereus-portal --param publicUrl=https://portal.example.com
mandate-apply¶
The gateway parameter takes another Gateway, istio-system/ingress by default (#728).
nereus mandate apply nereus-portal \
--reef portal \
--nereid nereus-portal \
--param publicUrl=https://portal.example.com
output
✓ core/mandates/nereus-portal configured (reef: portal, nereid: nereus-portal, default)
Next steps:
nereus mandate list
open¶
Open it on a phone and install it; the login is Authorization Code with PKCE.
curl https://portal.example.com/healthz
output
ok