Giter Site home page Giter Site logo

Add non-root version about k8s-wait-for HOT 5 CLOSED

groundnuty avatar groundnuty commented on May 18, 2024
Add non-root version

from k8s-wait-for.

Comments (5)

groundnuty avatar groundnuty commented on May 18, 2024 1

@alexsteeel Sure, I guess it could a default. I can't imagine what could running everything as regular user break (I'm just not sure what are permissions of the token mounted inside tho).

I don't have a proper secure k8s cluster on my hands to test it properly. So fell free to create a PR that with the modifications that would satisfy your use-case.

from k8s-wait-for.

alexsteeel avatar alexsteeel commented on May 18, 2024

@groundnuty I added pull-request #55, but I haven't worked with travis, so I'm not sure about my solution.
I checked docker image on my local kubernetes cluster with

  securityContext:
	runAsNonRoot: true

in deployment for init container. It works.

from k8s-wait-for.

alexsteeel avatar alexsteeel commented on May 18, 2024

I tested with curl without version, not curl=7.80.0-r1. With curl=7.80.0-r1 I have error as in CI job.

Update: I changed version from 7.80.0-r1 to 7.80.0-r2, it's ok.

from k8s-wait-for.

groundnuty avatar groundnuty commented on May 18, 2024

@alexsteeel in the end duplication of Dockerfile did not sit well with me I refactored it in 6d103dc I hope it still fulfils your usecase

from k8s-wait-for.

alexsteeel avatar alexsteeel commented on May 18, 2024

@groundnuty ok, thank you!

from k8s-wait-for.

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.