Giter VIP home page Giter VIP logo

Comments (4)

mattmoor avatar mattmoor commented on June 4, 2024

Ah, docs bug. I got rid of this because it led to conflicts when folks wanted to write:

k8s_object(
    name = "foo",
    template = "foo.yaml", # Same as output!
)

On "build" nothing was changed in the yaml. If you "run" it, the resolved template is sent to stdout, and this is exactly how the .create (and friends) actions get the yaml to use with kubectl.

from rules_k8s.

jmhodges avatar jmhodges commented on June 4, 2024

Okay, cool. I see it printed out on run, but I'm also getting an error message that seems to be rules_k8s trying to do network IO when I didn't expect that. I'm getting:

CRITICAL:root:Error publishing provided image: Bad status during token exchange: 401
{"errors":[{"code":"UNAUTHORIZED","message":"You don't have the needed permissions to perform this operation, and you may have invalid credentials. To authenticate your request, follow the steps in: https://cloud.google.com/container-registry/docs/advanced-authentication"}]}

from rules_k8s.

jmhodges avatar jmhodges commented on June 4, 2024

I'll make another ticket about that.

from rules_k8s.

jmhodges avatar jmhodges commented on June 4, 2024

Oops, the docs are still busted. Reopening.

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.