I am trying to use the keycloak operator to create a new HA Keycloak Cluster.
I have tried to create a new keycloak cluster using the yaml below from OperatorHub.io | The registry for Kubernetes Operators
apiVersion: k8s.keycloak.org/v2alpha1
kind: Keycloak
metadata:
name: example-keycloak
labels:
app: sso
spec:
instances: 1
hostname: example.org
tlsSecret: my-tls-secret
But I get the error
Error from server (BadRequest): error when creating "keycloak.yaml": Keycloak in version "v2alpha1" cannot be handled as a Keycloak: strict decoding error: unknown field "spec.tlsSecret"
Also the Link to Documentation on that page gives a 404 error. Leading me to think the operator may no longer be maintained.
I am new to using Operators and OLM so this kind of hassle is frustrating, but I did managed to get Postgres up running simply enough using an operator. Could some give me an example of a yaml file that will generate a cluster using OLM.