mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-16 14:29:09 +01:00
Compare commits
5
Commits
c5d2ebaefc
...
96c13c63f7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
96c13c63f7 | ||
|
|
70151b0ef4 | ||
|
|
f5e8b1e633 | ||
|
|
ae2e5ad9fa | ||
|
|
8cf87483d6 |
No files matched your search
@@ -94,6 +94,16 @@ data:
|
|||||||
target: !KeyOf immich-app
|
target: !KeyOf immich-app
|
||||||
attrs:
|
attrs:
|
||||||
group: !KeyOf mbg-leden
|
group: !KeyOf mbg-leden
|
||||||
|
# auth.scoutingmbg.nl: straight to Scouts Online, then on to the
|
||||||
|
# photos. Other domains keep the default brand.
|
||||||
|
- model: authentik_brands.brand
|
||||||
|
state: present
|
||||||
|
identifiers:
|
||||||
|
domain: auth.scoutingmbg.nl
|
||||||
|
attrs:
|
||||||
|
branding_title: Scouting MBG
|
||||||
|
flow_authentication: !Find [authentik_flows.flow, [slug, scouts-online-login]]
|
||||||
|
default_application: !KeyOf immich-app
|
||||||
- model: authentik_policies.policybinding
|
- model: authentik_policies.policybinding
|
||||||
state: present
|
state: present
|
||||||
identifiers:
|
identifiers:
|
||||||
@@ -220,7 +230,8 @@ data:
|
|||||||
policy: !KeyOf sso-only
|
policy: !KeyOf sso-only
|
||||||
# SOL only lets in members of the organisations picked in its
|
# SOL only lets in members of the organisations picked in its
|
||||||
# connection, and only sends roles within them. The callback URL is
|
# connection, and only sends roles within them. The callback URL is
|
||||||
# https://authentik.rubenhensen.nl/source/oauth/callback/scouts-online/
|
# https://auth.scoutingmbg.nl/source/oauth/callback/scouts-online/ (and
|
||||||
|
# authentik.rubenhensen.nl, from before auth.scoutingmbg.nl existed)
|
||||||
- model: authentik_sources_oauth.oauthsource
|
- model: authentik_sources_oauth.oauthsource
|
||||||
id: source
|
id: source
|
||||||
state: present
|
state: present
|
||||||
|
|||||||
@@ -14,3 +14,20 @@ spec:
|
|||||||
usages:
|
usages:
|
||||||
- digital signature
|
- digital signature
|
||||||
- key encipherment
|
- key encipherment
|
||||||
|
---
|
||||||
|
# The login of the Scouting MBG photos (immich), see blueprint-scouting.yaml.
|
||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: Certificate
|
||||||
|
metadata:
|
||||||
|
name: auth-scoutingmbg-tls
|
||||||
|
spec:
|
||||||
|
secretName: auth-scoutingmbg-tls
|
||||||
|
dnsNames:
|
||||||
|
- auth.scoutingmbg.nl
|
||||||
|
issuerRef:
|
||||||
|
group: cert-manager.io
|
||||||
|
kind: ClusterIssuer
|
||||||
|
name: prod-cluster-issuer
|
||||||
|
usages:
|
||||||
|
- digital signature
|
||||||
|
- key encipherment
|
||||||
@@ -7,8 +7,12 @@ spec:
|
|||||||
- name: homelab
|
- name: homelab
|
||||||
namespace: envoy-gateway-system
|
namespace: envoy-gateway-system
|
||||||
sectionName: https-authentik
|
sectionName: https-authentik
|
||||||
|
- name: homelab
|
||||||
|
namespace: envoy-gateway-system
|
||||||
|
sectionName: https-auth-scoutingmbg
|
||||||
hostnames:
|
hostnames:
|
||||||
- authentik.rubenhensen.nl
|
- authentik.rubenhensen.nl
|
||||||
|
- auth.scoutingmbg.nl
|
||||||
rules:
|
rules:
|
||||||
- backendRefs:
|
- backendRefs:
|
||||||
- name: authentik-server
|
- name: authentik-server
|
||||||
@@ -32,3 +36,6 @@ spec:
|
|||||||
- group: ""
|
- group: ""
|
||||||
kind: Secret
|
kind: Secret
|
||||||
name: authentik-tls
|
name: authentik-tls
|
||||||
|
- group: ""
|
||||||
|
kind: Secret
|
||||||
|
name: auth-scoutingmbg-tls
|
||||||
@@ -108,8 +108,15 @@ C. Switch
|
|||||||
|
|
||||||
## Open points
|
## Open points
|
||||||
|
|
||||||
- `foto.scoutingmbg.nl` is a CNAME to `mbg.hensen.io`; hensen.io is about
|
- DNS (2026-10-24): the group's DNS host (ns1/ns2.webhosted.nl) changed
|
||||||
to expire. Keep it until the group's DNS points foto at scoutingmbg.nl.
|
foto.scoutingmbg.nl from a CNAME to `mbg.hensen.io` (the home IP) to a
|
||||||
|
CNAME to `rubenhensen.nl`, which is node001 on Hetzner. Only ns2 has it
|
||||||
|
(serial 2026102471); ns1 is stuck on serial 2026060640 from June and
|
||||||
|
still answers `mbg.hensen.io`. node001 now tunnels foto.scoutingmbg.nl to
|
||||||
|
the home cluster like its other hosts, so both answers work. Keep
|
||||||
|
hensen.io until ns1 has caught up; ask the DNS host to fix ns1, and
|
||||||
|
decide whether foto should stay behind node001 or point straight home
|
||||||
|
(CNAME `scoutingmbg.nl`)
|
||||||
- Public shared links become public for real once sol-auth is gone.
|
- Public shared links become public for real once sol-auth is gone.
|
||||||
- Photos leiding back up from their phones stay private until they add
|
- Photos leiding back up from their phones stay private until they add
|
||||||
them to a shared album.
|
them to a shared album.
|
||||||
@@ -58,6 +58,20 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
kubernetes.io/metadata.name: authentik
|
kubernetes.io/metadata.name: authentik
|
||||||
|
- name: https-auth-scoutingmbg
|
||||||
|
protocol: HTTPS
|
||||||
|
port: 443
|
||||||
|
hostname: auth.scoutingmbg.nl
|
||||||
|
tls:
|
||||||
|
certificateRefs:
|
||||||
|
- name: auth-scoutingmbg-tls
|
||||||
|
namespace: authentik
|
||||||
|
allowedRoutes:
|
||||||
|
namespaces:
|
||||||
|
from: Selector
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
kubernetes.io/metadata.name: authentik
|
||||||
- name: https-vic
|
- name: https-vic
|
||||||
protocol: HTTPS
|
protocol: HTTPS
|
||||||
port: 443
|
port: 443
|
||||||
|
|||||||
@@ -19,6 +19,9 @@ let
|
|||||||
"serpbear.rubenhensen.nl"
|
"serpbear.rubenhensen.nl"
|
||||||
"git.rubenhensen.nl"
|
"git.rubenhensen.nl"
|
||||||
"vic.rubenhensen.nl"
|
"vic.rubenhensen.nl"
|
||||||
|
# The group's DNS points these at rubenhensen.nl, i.e. here
|
||||||
|
"foto.scoutingmbg.nl"
|
||||||
|
"auth.scoutingmbg.nl"
|
||||||
];
|
];
|
||||||
|
|
||||||
sniMapEntries =
|
sniMapEntries =
|
||||||
|
|||||||
Reference in new issue
Block a user