-
Notifications
You must be signed in to change notification settings - Fork 136
Conversation
This adds support for setting the default resolver with the `k8s_defaults` rule
/ok-to-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to update the docs and can we add a test for this?
Thanks for the PR!!! Appreciate your help. |
This failed in e2e, and I am not certain why. customresourcedefinition.apiextensions.k8s.io "todos.rules-k8s.bazel.io" deleted
Error from server: grpc: the client connection is closing @samschlegel e2e failed, so I am rerunning it. |
/test pull-rules-k8s-e2e |
@nlopezgi any idea why the other bazel builds are not running?? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passing CI now. Documentation and tests are the only thing we need 😊
Writing tests for this might be hard as these are workspace repo rules being changed, but lets just double check documentation is up to date and this should be good to submit imo |
https://github.com/bazelbuild/rules_k8s/blob/master/examples/hellogrpc/BUILD#L20 etc use k8s_defaults rules... we could just put something to resolve in one of them, and ensure e2e tests continue passing |
Because tests are hard we can do another PR, but frankly we need a lot more tests 😞 |
Can you rebase and do we need any doc changes? Thanks for your help! |
@nlopezgi do we need docs update on this?? |
Apologies, I didn't see the updates to this. Let me know if there's anything I need to do |
@samschlegel do we need any doc updates? @nlopezgi can you start build kite CI? /ok-to-test |
No doc updates are needed, as this is actually already in the docs as being supported 😅 |
Need CI to pass and we can merge this |
kicked off presubmits, this PR looks good other than the missing doc updates. |
It has erroneously been in the k8s_defaults section since dc3999f which I believe was probably unintentional. This adds it to the k8s_object section
ugh, mac builds are timing out pulling images, will have to figure out tomorrow what's the problem |
@nlooezgi can you get this to retest? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need another rebase.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chrislovecnm, fejta, samschlegel The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This adds support for setting the default resolver with the
k8s_defaults
rule