Trendyol / kubectl-view-webhook

:eyes: :bangbang: This projects aims to visualize critical parts of the admission webhook configuration resource

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should not panic if CABundle not given

Dentrax opened this issue · comments

Describe the bug
It's throw panic if CABundle not included in Webhook.

To Reproduce

  1. Create a Webhook without CABundle included in
  2. kubectl view-webhook
  3. See panic

Expected behavior
Should not panic, instead it should print something like: No CABundle

Screenshots
Screen Shot 2020-12-23 at 23 38 11