Coder Social home page Coder Social logo

Comments (7)

jonathanvila avatar jonathanvila commented on August 27, 2024

The env vars RELATED_IMAGE_KEYCLOAK are set at the operator level not at the CR level.
You need to set those values in the Operator Subscription #link

from keycloak-operator.

titansmc avatar titansmc commented on August 27, 2024

I would say those variables are applied at the custom resource from my initial comment:

apiVersion: keycloak.org/v1alpha1
kind: Keycloak

inside :

  keycloakDeploymentSpec:
    experimental:
      env:

Isn't it the place where I should apply them?

from keycloak-operator.

jonathanvila avatar jonathanvila commented on August 27, 2024

Hi @titansmc , that is the CR , and those env vars have to be applied to the Operator Subscription.
Here you have another issue comment with similar answer

from keycloak-operator.

jonathanvila avatar jonathanvila commented on August 27, 2024

Hi

Could you please upgrade to Keycloak 16.1.0 ? Today it's been published the new version of the operator that should fix also this issue ( seems related to Wildfly 25 and the need of reboot after creating the admin user ).

Thank you

from keycloak-operator.

titansmc avatar titansmc commented on August 27, 2024

Hi,
I get:

{"level":"info","ts":1641225576.396546,"logger":"controller_keycloak","msg":"Reconciling Keycloak","Request.Namespace":"keycloak-operator","Request.Name":"keycloak-test"}
I0103 15:59:37.737101       1 request.go:655] Throttling request took 1.248471536s, request: GET:https://10.133.0.1:443/apis/beegfs.csi.netapp.com/v1?timeout=32s
{"level":"info","ts":1641225583.2899556,"logger":"controller_keycloak","msg":"Performing migration from 'quay.io/keycloak/keycloak:15.0.2' to 'quay.io/keycloak/keycloak:16.1.0'"}
{"level":"info","ts":1641225583.2918403,"logger":"action_runner","msg":"(    0)     FAILED Create Local Backup CR : keycloakbackups.keycloak.org is forbidden: User \"system:serviceaccount:keycloak-operator:keycloak-operator\" cannot create resource \"keycloakbackups\" in API group \"keycloak.org\" in the namespace \"keycloak-operator\""}
{"level":"info","ts":1641225583.2982213,"logger":"controller_keycloak","msg":"Reconciling Keycloak","Request.Namespace":"keycloak-operator","Request.Name":"keycloak-test"}

from keycloak-operator.

jonathanvila avatar jonathanvila commented on August 27, 2024

Hi @titansmc this happens due to DB Backups ( not directly related with the original issue )

We no longer support Backups, and apparently your Keycloak CR enables it : Spec.Migration.Backups.Enabled

Could you please disable it and check again ? Thank you

from keycloak-operator.

titansmc avatar titansmc commented on August 27, 2024

You are right. It works now.
Thanks.

from keycloak-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.