Compare commits
4 Commits
2a50028e51
...
fix/drop-d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
375fbff4b6 | ||
| 275ec675da | |||
| 0a98674a27 | |||
| b713ec853c |
@@ -1,38 +0,0 @@
|
|||||||
# Labeled config Secret read by the Keycloak Client Registrar. Kyverno clones it
|
|
||||||
# to the keycloak namespace; a CronJob registers the OIDC client in the forte
|
|
||||||
# realm and writes the credentials back as forte-drop-oidc-credentials in THIS
|
|
||||||
# namespace (~2 min). The forte-helm auth sidecar (auth.type: oidc) consumes that
|
|
||||||
# registrar-created Secret automatically — no manual SealedSecret step needed.
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
name: keycloak-client-forte-drop
|
|
||||||
namespace: forte-drop
|
|
||||||
labels:
|
|
||||||
keycloak.forteapps.net/client-config: "true"
|
|
||||||
annotations:
|
|
||||||
keycloak.forteapps.net/source-namespace: "forte-drop"
|
|
||||||
stringData:
|
|
||||||
client.json: |
|
|
||||||
{
|
|
||||||
"clientId": "forte-drop",
|
|
||||||
"name": "Forte Drop (web)",
|
|
||||||
"enabled": true,
|
|
||||||
"protocol": "openid-connect",
|
|
||||||
"clientAuthenticatorType": "client-secret",
|
|
||||||
"standardFlowEnabled": true,
|
|
||||||
"directAccessGrantsEnabled": false,
|
|
||||||
"serviceAccountsEnabled": false,
|
|
||||||
"publicClient": false,
|
|
||||||
"redirectUris": ["https://drop-k8s.hackathon.forteapps.net/auth/callback"],
|
|
||||||
"webOrigins": ["https://drop-k8s.hackathon.forteapps.net"],
|
|
||||||
"defaultClientScopes": ["openid","email","profile"],
|
|
||||||
"secret": {
|
|
||||||
"namespace": "forte-drop",
|
|
||||||
"name": "forte-drop-oidc-credentials",
|
|
||||||
"keys": {
|
|
||||||
"clientId": "client-id",
|
|
||||||
"clientSecret": "client-secret"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,8 +1,6 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
|
||||||
- forte-drop.yaml
|
- forte-drop.yaml
|
||||||
- keycloak-client-forte-drop.yaml
|
|
||||||
- forte-drop-pdb.yaml
|
- forte-drop-pdb.yaml
|
||||||
- forte-drop-secrets-sealed.yaml
|
- forte-drop-secrets-sealed.yaml
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
# Owns the forte-drop namespace shared by the web + mcp deployments and the
|
|
||||||
# postgres StatefulSet (infra overlay). sync-wave -1 ensures the namespace exists
|
|
||||||
# before the namespaced Secrets/PDB in this base apply (avoids a first-sync
|
|
||||||
# "namespaces forte-drop not found" race when the business-apps parent syncs).
|
|
||||||
# Prune=false so removing this base never cascade-deletes the namespace (and with
|
|
||||||
# it postgres data + the mcp deployment) — matches the earlier decision to keep
|
|
||||||
# namespace ownership decoupled from any single workload.
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: forte-drop
|
|
||||||
annotations:
|
|
||||||
argocd.argoproj.io/sync-wave: "-1"
|
|
||||||
argocd.argoproj.io/sync-options: Prune=false
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/managed-by: argocd
|
|
||||||
app.kubernetes.io/part-of: apps
|
|
||||||
@@ -8,6 +8,6 @@ resources:
|
|||||||
|
|
||||||
# No patches needed — base apps already default to "upc-dev" value paths
|
# No patches needed — base apps already default to "upc-dev" value paths
|
||||||
# (upc-dev is the default/base cluster).
|
# (upc-dev is the default/base cluster).
|
||||||
# forte-drop (postgres + web + mcp) and dbunk-demo are upc-dev-only apps — they
|
# forte-drop (postgres + web + mcp) and dbunk-demo are upc-dev-only apps — their
|
||||||
# have hackathon-domain hardcoded values and must not sync to upc-prod, so they
|
# values hardcode upc-dev hosts (drop.forteapps.net etc.) and must not sync to
|
||||||
# live here in the overlay rather than in apps/base/.
|
# upc-prod, so they live here in the overlay rather than in apps/base/.
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ config:
|
|||||||
description: Teknisk kompetanse fra offentlige anbud
|
description: Teknisk kompetanse fra offentlige anbud
|
||||||
icon: forte
|
icon: forte
|
||||||
- Forte Drop:
|
- Forte Drop:
|
||||||
href: https://drop.hackathon.forteapps.net
|
href: https://drop.forteapps.net
|
||||||
description: Self-hosted HTML-drops + MCP for Claude
|
description: Self-hosted HTML-drops + MCP for Claude
|
||||||
icon: forte
|
icon: forte
|
||||||
- Forte Feedback:
|
- Forte Feedback:
|
||||||
|
|||||||
Reference in New Issue
Block a user