Giter VIP home page Giter VIP logo

Comments (6)

mattmoor avatar mattmoor commented on May 23, 2024

I changed the title. Currently this does nothing, so we should just remove it.

from rules_k8s.

ensonic avatar ensonic commented on May 23, 2024

I am not sure it is useless. What is the reason for not outputting the expanded yaml file when running build?

from rules_k8s.

mattmoor avatar mattmoor commented on May 23, 2024

What comes out during the build isn't expanded (pushing wouldn't be hermetic).

Right now it is literally copying the input to the output :)

from rules_k8s.

ensonic avatar ensonic commented on May 23, 2024

Yes, the current output is not useful. It would only be useful if it would output a yaml with images resolved. It should be hermetic, since the image would point to the digest.

from rules_k8s.

mattmoor avatar mattmoor commented on May 23, 2024

Right, and we can only publish the image and produce a resolved template on bazel run since that is inherently not hermetic.

from rules_k8s.

mattmoor avatar mattmoor commented on May 23, 2024

Just to be clear, our hermetic references are to different things :)

What I'm saying is non-hermetic is publishing an image, since it talks to the registry service and accesses things outside of the sandbox like your credential keyring. This would not run successfully on a distributed build system without network (or your local filesystem) for instance.

The result of bazel run (the resolved output) is what I'd call pseudo-hermetic because all of the external references are now content-addresses. So while it isn't closed per-se, the only way you can successfully deploy it is if get exactly what you intended.

from rules_k8s.

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.