-
Notifications
You must be signed in to change notification settings - Fork 9
webhook-create-signed-cert.sh and kubectl 1.10 + missing fields #261
Comments
Link to kubernetes/kubectl#384 |
I too ran into this problem, but worked around it for the time being by changing the bottom of the script to read:
|
It seems that bug is corrected in 1.10.1 beta, will be available soon on stable version |
@ayj could you help triage this? |
maybe this could be just a limitation to document in our istio.io for kubectl 1.10 |
I think so, I can update docs if needed |
Still have issue with v1.10.1 beta
|
istio/istio#4466 replaced the webhook scripts. Install is now more automatic and depends on Istio CA for cert provisioning. cc @yusuoh |
Has mention by @nikhita : This was fixed in kubernetes/kubernetes#61808. This patch was cherry-picked into release-1.10 - kubernetes/kubernetes#61836. |
I installed Istio today and getting same error. |
Have you kubectl in version 1.10? |
Yes
|
You right, it's fixed on version 1.11 |
will only kubectl update will fix the issue ? |
Don't see any version 1.11. Meanwhile, is there any work around ? |
Have you tested the workaround from @mikedoug ? |
Thanks, it worked fine. |
closing as @Vikash082 mentioned it is working. Please reopen if something is pending |
Kind: BUG
istioctl version
kubectl version
In kubectl 1.10+ version when you do a dry run then output it as yaml or json the following fields are missing: Kind, APIVersion
Since you just pipe the output to kubectl to apply the secret, it can happen because those mandatory fields are unset.
How to reproduce it:
You should have a kubectl client in 1.10+ at least and istio installedm then use this script to install the secret and vcertificate for the webhook => webhook-create-signed-cert.sh.
At this point you should see the following error:
The text was updated successfully, but these errors were encountered: