updated keycloak operator to the latest version

This commit is contained in:
Sebastian Wendel 2022-07-26 13:55:27 +02:00
parent e5affce796
commit 3dd7110b68
No known key found for this signature in database
GPG key ID: 1422B7DF78144640
9 changed files with 23 additions and 22 deletions

View file

@ -3,5 +3,3 @@ resources:
- namespace.yaml
- operatorgroup.yaml
- subscription.yaml
- instances.yaml
- realm.yaml

View file

@ -1,16 +0,0 @@
---
apiVersion: keycloak.org/v1alpha1
kind: KeycloakRealm
metadata:
name: fcos-keycloak-realm
labels:
app: sso
spec:
realm:
id: fcos
realm: fcos
enabled: true
displayName: Fab City OS Realm
instanceSelector:
matchLabels:
app: sso

View file

@ -5,7 +5,7 @@ metadata:
name: keycloak
namespace: keycloak
spec:
channel: alpha
channel: candidate
name: keycloak-operator
source: operatorhubio-catalog
sourceNamespace: olm

View file

@ -1,5 +1,5 @@
---
apiVersion: keycloak.org/v1alpha1
apiVersion: k8s.keycloak.org/v2alpha1
kind: Keycloak
metadata:
name: fcos-keycloak
@ -7,5 +7,5 @@ metadata:
app: sso
spec:
instances: 1
externalAccess:
enabled: true
hostname: id.localhost
tlsSecret: INSECURE-DISABLE

View file

@ -0,0 +1,3 @@
---
resources:
- instances.yaml

View file

@ -1,6 +1,7 @@
---
resources:
- ../../base
- ./apps/keycloak
patches:
- target:
kind: Ingress

View file

@ -0,0 +1,11 @@
---
apiVersion: k8s.keycloak.org/v2alpha1
kind: Keycloak
metadata:
name: fcos-keycloak
labels:
app: sso
spec:
instances: 2
hostname: id.fabcity.hamburg
tlsSecret: fcos-keycloak-tls-secret

View file

@ -0,0 +1,3 @@
---
resources:
- instances.yaml

View file

@ -2,6 +2,7 @@
resources:
- ../../base
- ./apps/cert-manager
- ./apps/keycloak
- ./apps/gitea
patches:
- target: