Comments (4)
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.
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.
I'll make another ticket about that.
from rules_k8s.
Oops, the docs are still busted. Reopening.
from rules_k8s.
Related Issues (20)
- How to resolve locally built images? HOT 2
- `@platforms` should be explicitly imported HOT 1
- Cutting a new release HOT 2
- io_kubernetes_build seems to not exist? HOT 3
- [Condition Fields] Is it possible to support some conditional field in yaml file?
- Cannot run delete with host_platform=osx and platform=linux HOT 4
- Update kubectl from source documentation
- move to GCP prow instead of kubernetes prow
- kubectl toolchain for Apple M1 (cpu: arm64) on os:macos
- v0.7: Error in fail: go_register_toolchains: version set after go sdk rule declared (go_sdk) HOT 3
- Python Toolchain Included in `.delete` Target
- Add rules_k8s to the bzlmod registry
- Missing header when uploading a blob to a registry
- kubectl defaults seem to be stale/broken HOT 4
- Unable to publish images: unable to push image grc.io/foo/bar:latest: Get "https://grc.io/v2/": dial tcp 216.40.34.41:443: i/o timeout HOT 2
- `':foo.describe': no such target` error HOT 1
- Support rules_oci HOT 7
- Drop dependency on rules_docker HOT 2
- objects being applied even if underlying dependencies did not change
- Stamp substitution in image names does not work as expected HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rules_k8s.