oidc: flip enforcement ON for knowledge + distribution (no-live-proof, fix-forward)
Operator 2026-06-04: nothing is production yet, flip OIDC + fix-forward (no browser-proof gate). knowledge: Auth__Enabled false->true (OIDC env already wired). distribution: add OIDC env block (Authority/Audience/ClientId=distribution, ClientSecret from distribution-oidc-client) + Enabled=true; public read/entitlement + Method() allowlist stay open (OIDC gates admin only). Clients already provisioned (secrets present). ArgoCD deploys both. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -130,6 +130,24 @@ spec:
|
|||||||
value: "Production"
|
value: "Production"
|
||||||
- name: DOTNET_SYSTEM_GLOBALIZATION_INVARIANT
|
- name: DOTNET_SYSTEM_GLOBALIZATION_INVARIANT
|
||||||
value: "false"
|
value: "false"
|
||||||
|
# Authentik/OIDC enforcement (flipped ON 2026-06-04, no-live-proof per operator;
|
||||||
|
# public read/entitlement + Method() allowlist stay open — OIDC gates admin only).
|
||||||
|
- name: FlowerCore__Auth__Enabled
|
||||||
|
value: "true"
|
||||||
|
- name: FlowerCore__Auth__Oidc__Enabled
|
||||||
|
value: "true"
|
||||||
|
- name: FlowerCore__Auth__Oidc__Authority
|
||||||
|
value: "https://id.iamworkin.lan/application/o/distribution/"
|
||||||
|
- name: FlowerCore__Auth__Oidc__Audience
|
||||||
|
value: "distribution"
|
||||||
|
- name: FlowerCore__Auth__Oidc__ClientId
|
||||||
|
value: "distribution"
|
||||||
|
- name: FlowerCore__Auth__Oidc__ClientSecret
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: distribution-oidc-client
|
||||||
|
key: client_secret
|
||||||
|
optional: true
|
||||||
# SQLite connection (catalog + data-protection keys via FlowerCoreDbContext).
|
# SQLite connection (catalog + data-protection keys via FlowerCoreDbContext).
|
||||||
# Read by Data/DatabaseProviderExtensions.cs in precedence order; Sqlite key wins.
|
# Read by Data/DatabaseProviderExtensions.cs in precedence order; Sqlite key wins.
|
||||||
- name: FlowerCore__Database__Provider
|
- name: FlowerCore__Database__Provider
|
||||||
|
|||||||
@@ -127,7 +127,7 @@ spec:
|
|||||||
# knowledge-oidc-client Secret is provisioned and
|
# knowledge-oidc-client Secret is provisioned and
|
||||||
# FlowerCore__Auth__Enabled is flipped to true.
|
# FlowerCore__Auth__Enabled is flipped to true.
|
||||||
- name: FlowerCore__Auth__Enabled
|
- name: FlowerCore__Auth__Enabled
|
||||||
value: "false"
|
value: "true"
|
||||||
- name: FlowerCore__Auth__Oidc__Enabled
|
- name: FlowerCore__Auth__Oidc__Enabled
|
||||||
value: "true"
|
value: "true"
|
||||||
- name: FlowerCore__Auth__Oidc__Authority
|
- name: FlowerCore__Auth__Oidc__Authority
|
||||||
|
|||||||
Reference in New Issue
Block a user