mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-14 16:34:46 +00:00
Fail early on incorrect version of k8s (#254)
* Fail early on incorrect version of k8s * fix tests
This commit is contained in:
parent
808e6d4aa5
commit
a4d74ce7d2
4 changed files with 30 additions and 4 deletions
|
|
@ -84,7 +84,7 @@ func kubeconform(cfg config.Config) int {
|
|||
SkipTLS: cfg.SkipTLS,
|
||||
SkipKinds: cfg.SkipKinds,
|
||||
RejectKinds: cfg.RejectKinds,
|
||||
KubernetesVersion: cfg.KubernetesVersion,
|
||||
KubernetesVersion: cfg.KubernetesVersion.String(),
|
||||
Strict: cfg.Strict,
|
||||
IgnoreMissingSchemas: cfg.IgnoreMissingSchemas,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue