Skip to content

Commit

Permalink
restored external kc provider credentials
Browse files Browse the repository at this point in the history
introduced new internal kc provider credentials for XBuiltinObjects
  • Loading branch information
QuadmanSWE committed Jun 9, 2024
1 parent a07ed3b commit 0525b79
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
spec:
providerConfigName: keycloak-provider-config
providerSecretName: keycloak-credentials
providerConfigName: keycloak-config
providerSecretName: keycloak-credentials-internal
realm: master
builtinClients:
- account
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ kind: Secret
metadata:
name: keycloak-credentials
namespace: crossplane-system
labels:
type: provider-credentials
type: Opaque
stringData:
credentials: |
Expand All @@ -16,3 +14,21 @@ stringData:
"base_Path":"/",
"tls_insecure_skip_verify":"true"
}
---
apiVersion: v1
kind: Secret
metadata:
name: keycloak-credentials-internal
namespace: crossplane-system
labels:
type: provider-credentials
type: Opaque
stringData:
credentials: |
{
"client_id":"crossplane",
"client_secret":"xppw_LnaEt79B47CxPEafJpXx",
"url":"http://keycloak.platform",
"realm":"master",
"base_Path":"/"
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ kind: XBuiltinObjects
metadata:
name: keycloak-builtin-objects-developers-realm
spec:
providerConfigName: keycloak-provider-config
providerSecretName: keycloak-credentials
providerConfigName: keycloak-config
providerSecretName: keycloak-credentials-internal
realm: developers-realm
builtinClients:
- account
Expand Down

0 comments on commit 0525b79

Please sign in to comment.