Coder Social home page Coder Social logo

Comments (5)

KaiWedekind avatar KaiWedekind commented on July 17, 2024

What solved my problem was setting fsGroup to zero in securityContext:

securityContext:
    runAsUser: 1000
    fsGroup: 0
    runAsNonRoot: true

Keycloak was not able to create folders with fsGroup: 1000 (jboss), it had to be 0 (root).

drwxrwxr-x 11 jboss root  4096 May 12 00:21 keycloak

from helm-charts.

unguiculus avatar unguiculus commented on July 17, 2024

Can you share some more details on your environment? Do you use Istio by any chance? See #24.

from helm-charts.

RAbraham avatar RAbraham commented on July 17, 2024

I'm having the same issue. @KaiWedekind 's solution unfortunately didn't work in my context. I'm testing it locally on MacOS. The only change I made was to point to an existing postgres local instance. Is this issue caused if the database keycloak is an empty database? Does the keycloak deployment try to populate an empty database with keycloak specific schemas?

from helm-charts.

KaiWedekind avatar KaiWedekind commented on July 17, 2024

I use Istio, indeed. My issue wasn't initializing iptables though, my keycloak container just Could not create directory for root '/opt/jboss/keycloak/standalone/tmp/vfs/temp' as included in the log snapshot.

from helm-charts.

unguiculus avatar unguiculus commented on July 17, 2024

Should be fixed by #25.

from helm-charts.

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.