This repository has been archived by the owner on Feb 6, 2024. It is now read-only.
First rules_k8s release. Use Bazel rules for interacting with Kubernetes configurations / clusters!
New Rules
Features
- Allow downloading prebuilt binary in kubectl toolchain (#253)
- Enable building kubectl hermetically as part of toolchain setup (#229)
- Kubectl via toolchains (documentation) (#226)
- Add resolver to k8s_defaults (#200)
- Allow project override (#187)
- Support kubectl --user (#148)
- Adds 'context' parameter to k8s_object (#138)
- Improve "not found" error message (#121) (#122)
- Make resolver a public property (#95) (#96)
Fixes
- Documentation & refactoring for custom kubectl from source (#251)
- Reformat files and fix Bazel incompatible changes (#249)
- test only a few things on mac, its flaky (#247)
- use latest release of protobuf (#243)
- update pin to rules_proto (#241)
- adding license for toolchain BUILD file (#239)
- Update toolchain docs (#237)
- update flask version to remove security warning (#236)
- Update toolchain docs (#235)
- buildifier for objects.bzl (#230)
- Include init.py files (#228)
- Arbitrary arguments for k8s_objects (#225)
- Arbitrary args for kubectl (#224)
- Disabling controller e2e test till it is less flakey (#222)
- Remove kubectl toolchain execution platform constraint (#218)
- Use gcloud builds, and :latest-$USER (#217)
- Sprinkle some sleeps to try and improve e2e flakiness (#216)
- Fix getting the current cluster name in README.md (#214)
- kubectl via toolchains (continued) (#212)
- Adding contributors and reviewers (#211)
- Use build id and repo name in namespace to uniquify (#208)
- update pin to base images docker and rules docker (#205)
- Propagate arguments for implicit attributes to instantiated rules (#204)
- Update protobuf rules for examples (#203)
- Use kubectl describe foo name (#196)
- Add logic to generate bazel + gcloud container using rules_docker (#193)
- Exit the resolver if publishing fails (#188)
- update rules docker pin (#186)
- update docker rules pin again (#180)
- update rules_docker pin (#179)
- Unlock extra actions if "context" attribute is set (#170)
- Fix a typo: s/usre/user/ (#169)
- Use /usr/bin/env bash for more portable shebang lines (#168)
- Add user and context attrs to README.md (#166)
- Do not clean between build/test (#164)
- hotfix: upgrade gunicorn version for fixing vulnerability (#163)
- Add --allow_unused_images resolver flag (#161) (#162)
- add Prow build status to README.md (#160)
- remove Travis CI in favor of Prow (#159)
- pass visibility into k8s commands (#158)
- switch from native.git_repository to external git_repository (#157)
- Create gcloud-bazel image for running e2e tests (#156)
- Create a test-e2e.sh script which prow can run (#155)
- Add support options to README.md (#154)
- Create root-level OWNERS file (#153)
- fix hellogrpc/py examples by adding dependency (#152)
- Update rules_docker to latest. (#150)
- Use the correct rule for k8s_service in hellogrpc service. (#144)
- Propagate implicitly added attributes/arguments to instantiated rules (#137)
- Fix k8s_object to work with latest rules_docker (#130)
- Improve "not found" error message (#121)
- Fix file reference to rules_docker (#118) (#120)
- Fix file reference to rules_docker (#118)
- Properly support multi-document yaml files. (#117)
- Ignore not-found on deletions. (#112)
- This splits and reverses a multi-document yaml for k8s_object delete. (#110)
- Delete objects in reverse order. (#108)
- Expand make vars for cluster name (#106) (#107)
- Expand make vars for cluster name (#106)
- clarify some of the naming in the Aliases docs (#105)
- Don't dump a stack trace when we hit errors publishing images. (#101)
- Remove usages of
+
on dicts (#100) - Make resolver a public property (#95)
- Objects visibility (#93)
- k8s_objects pass common attributes such as visibility through macro (#92)
- No default namespace (#91)
- Remove default value for namespace (#90)
- Merge #84 into master (#89)
- Fix all of the new buildifier stuff. (#86)
- Add a simple Node.JS "hello http" example / test. (#85)
- Two small improvements (#84)
- Fix config (#82)
- Use the same configuration as in objects.bzl (#79)
- Re-enable OSX testing. (#72)
- Address a few pieces of feedback from @ensonic (#71)
- Update docs. (#67)
- Controllers following the pattern currently used are unstable. (#64)
- Fix a bug that was stopping us from resolving tags we don't push. (#63)
- This disables OSX validation on the Bazel CI setup. (#58)
- Update pubref (#57)
- Update rules_protobuf (#56)
- Add a simple Kubernetes custom controller/resource example. (#55)
- Document how to use --workspace_status_command per-repo. (#54)
- Make k8s_object error when a images key isn't replaced. (#51)
- Allow k8s_object to chroot image references (#49)
- This change adds preliminary support for k8s_objects. (#48)
- Update jsonnet dependency (#45)
- Add an apply action. (#44)
- Upgrade to the latest version of rules_docker (#42)
- Update rules_protobuf to v0.8.1 (depset fixes for bazel 0.6.0) (#40)
- Python HTTP Example (#38)
- This adds a very simple example of templating using rules_jsonnet. (#37)
- HTTP examples (#36)
- Bugfix: Extracts short_path from tarball-File (#34)
- Drop a redundant import now that rules_docker depends on a new enough… (#33)
- Add a blurb about where to find the cluster name. (#32)
- Stop using .short_path to reference stuff in actions. (#28)
- Update the rules_python dependency. (#24)
- This adds a sample Python GRPC service. (#22)
- Rename the sample app, otherwise a Python sample is untennable. (#20)
- Add support for stamping cluster and namespace (#19)
- Remove deprecated set constructor (#18)
- Go sample (#17)
- Java sample (#16)
- Add support for special actions (#14)
- Add support for the
images={}
attribute. (#8) - Add a Bazel CI Config for rules_k8s. (#7)
- Add bazel run tag resolution (#5)
- Add aliasing (#3)
- Add the k8s_object rule. (#2)
- Set up CI and add .gitignore (#1)