Skip to content

Commit

Permalink
Add Keycloak CR
Browse files Browse the repository at this point in the history
  • Loading branch information
aolle committed Dec 18, 2023
1 parent 7714b70 commit fe63ba8
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions code/install/rhbk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
apiVersion: k8s.keycloak.org/v2alpha1
kind: Keycloak
metadata:
name: example-keycloak
spec:
instances: 1
db:
vendor: postgres
host: postgres-db
# schema: keycloak
usernameSecret:
name: keycloak-db-secret
key: username
passwordSecret:
name: keycloak-db-secret
key: password
http:
httpEnabled: true
ingress:
className: openshift-default
enabled: true
hostname:
hostname: ""
strict: false

---
apiVersion: v1
kind: Route
apiVersion: route.openshift.io/v1
metadata:
name: example-keycloak-service
annotations:
openshift.io/host.generated: 'true'
spec:
to:
kind: Service
name: example-keycloak-service
weight: 100
port:
targetPort: http

0 comments on commit fe63ba8

Please sign in to comment.