GithubHelp home page GithubHelp logo

Comments (6)

rodfrancisco avatar rodfrancisco commented on July 22, 2024

@jasonodonnell

from vault-helm.

jasonodonnell avatar jasonodonnell commented on July 22, 2024

Hi @rodfrancisco, thanks for bringing this to my attention.

I can make this configurable to support your use case. Would this help?

from vault-helm.

rodfrancisco avatar rodfrancisco commented on July 22, 2024

@jasonodonnell That works. Thanks for the quick turnaround.

from vault-helm.

jemc avatar jemc commented on July 22, 2024

Why was this made to be configurable instead of removed altogether?

This is flat-out invalid Kubernetes config, so even if you want to turn it on, it won't work. As indicated in the error message, PodSecurityContext does not have this readOnlyRootFilesystem field at all. You can confirm this by checking the Kubernetes API docs for it

@jasonodonnell - did you ever do a successful deployment with the field present?

from vault-helm.

jasonodonnell avatar jasonodonnell commented on July 22, 2024

Hi @jemc ,

I've just deployed it successfully to multiple Kubernetes clusters without error. I'm wondering if Kube isn't validating the object and just disregarding it.

I'll look into removing this and trying to understand why it's not showing up on my end or in the test clusters. Thanks

from vault-helm.

malnick avatar malnick commented on July 22, 2024

@jemc @jasonodonnell Looking at the docs link it looks like this setting belongs in the container security context this line

, not the global line we already removed it from.

PodSecurityPolicySpec v1beta1 policy (so unfortunate that we can't link to settings on this docs page) defines it under the container spec. So if we add it there, it should be picked up. I do think we should make it configurable.

from vault-helm.

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.