Skip to content

Commit

Permalink
add config
Browse files Browse the repository at this point in the history
  • Loading branch information
Breee committed Feb 11, 2024
1 parent 4760c3a commit 3bfe9bf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev/apps/keycloak-provider/keycloak-provider-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ stringData:
"client_id":"admin-cli",
"username": "admin",
"password": "admin",
"url": "http://keycloak-keycloakx-http.keycloak.svc:8080",
"url": "http://keycloak-keycloakx-http.keycloak.svc.cluster.local:80",
"base_path": "/auth",
"realm": "master"
}
15 changes: 14 additions & 1 deletion dev/apps/keycloak-provider/keycloak-provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,17 @@ metadata:
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
spec:
package: xpkg.upbound.io/crossplane-contrib/provider-keycloak:v0.4.0
package: xpkg.upbound.io/crossplane-contrib/provider-keycloak:v0.8.0
---
apiVersion: keycloak.crossplane.io/v1beta1
kind: ProviderConfig
metadata:
name: keycloak-provider-config
namespace: dev
spec:
credentials:
source: Secret
secretRef:
name: keycloak-credentials
key: credentials
namespace: crossplane-system
1 change: 1 addition & 0 deletions dev/setup_dev_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ kind create cluster --name fenrir-1 --config kind-config.yaml --kubeconfig $HOME

echo "Running some commands to make sure the cluster is ready"
export KUBECONFIG=$HOME/.kube/fenrir-1
kubectl config use-context kind-fenrir-1
kubectl cluster-info
kubectl get nodes

Expand Down

0 comments on commit 3bfe9bf

Please sign in to comment.