Compare commits
1 Commits
main
...
fix/drop-d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
375fbff4b6 |
@@ -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.forteapps.net/auth/callback"],
|
|
||||||
"webOrigins": ["https://drop.forteapps.net"],
|
|
||||||
"defaultClientScopes": ["openid","email","profile"],
|
|
||||||
"secret": {
|
|
||||||
"namespace": "forte-drop",
|
|
||||||
"name": "forte-drop-oidc-credentials",
|
|
||||||
"keys": {
|
|
||||||
"clientId": "client-id",
|
|
||||||
"clientSecret": "client-secret"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -2,6 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user