Skip to content
This repository was archived by the owner on Jan 27, 2021. It is now read-only.

Conversation

@vbehar
Copy link
Contributor

@vbehar vbehar commented Oct 28, 2019

because we're not mutating the deployments anymore, we shouldn't have a rule in the webhook config for it.

Got the following error while trying to create a deployment:

$ kubectl create deployment app --image=...
Error from server (InternalError): Internal error occurred: admission webhook "proxy-injector.osiris.deislabs.io" denied the request: Invalid kind for review: AdmissionReview

Manually editing the webhook config to remove the deployment rule fixed the issue.

because we're not mutating the deployments anymore, we shouldn't have a rule in the webhook config for it.

Got the following error while trying to create a deployment:

```
$ kubectl create deployment app --image=...
Error from server (InternalError): Internal error occurred: admission webhook "proxy-injector.osiris.deislabs.io" denied the request: Invalid kind for review: AdmissionReview
```

Manually editing the webhook config to remove the deployment rule fixed the issue.
@codecov-io
Copy link

Codecov Report

Merging #53 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #53   +/-   ##
=======================================
  Coverage   58.77%   58.77%           
=======================================
  Files          11       11           
  Lines         638      638           
=======================================
  Hits          375      375           
  Misses        234      234           
  Partials       29       29

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f71d07...f3ecb63. Read the comment docs.

@krancour
Copy link
Contributor

@vbehar thanks for catching this. I thought for sure I had fixed this, but apparently not. I must be recalling editing resources in my live cluster and not chart source. How embarrassing.

Thanks again!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants