Skip to content

Instantly share code, notes, and snippets.

@giorgiosironi
Created December 13, 2022 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save giorgiosironi/5b556620e75a3a20457c64ebb5bb6108 to your computer and use it in GitHub Desktop.
Save giorgiosironi/5b556620e75a3a20457c64ebb5bb6108 to your computer and use it in GitHub Desktop.
[16:46:49][giorgio@elife-XPS-13-9370:~/code/sciety]$ kubeconform -schema-location default -verbose -kubernetes-version=1.22.0 *.yaml
pod-identity-webhook.yaml - MutatingWebhookConfiguration pod-identity-webhook is valid
controllerrevision1.yaml - ControllerRevision cloudwatch-agent-74cb9dfbcb is valid
daemonset1.yaml - DaemonSet cloudwatch-agent is valid
[16:47:17][giorgio@elife-XPS-13-9370:~/code/sciety]$ kubeconform -schema-location default -verbose -kubernetes-version=1.20.0 *.yaml
pod-identity-webhook.yaml - MutatingWebhookConfiguration pod-identity-webhook is valid
controllerrevision1.yaml - ControllerRevision cloudwatch-agent-74cb9dfbcb is valid
daemonset1.yaml - DaemonSet cloudwatch-agent is valid
[16:47:24][giorgio@elife-XPS-13-9370:~/code/sciety]$ kubeconform -schema-location default -verbose -kubernetes-version=1.21.0 *.yaml
controllerrevision1.yaml - ControllerRevision cloudwatch-agent-74cb9dfbcb is valid
pod-identity-webhook.yaml - MutatingWebhookConfiguration pod-identity-webhook is valid
daemonset1.yaml - DaemonSet cloudwatch-agent is valid
[16:47:27][giorgio@elife-XPS-13-9370:~/code/sciety]$ kubeconform -schema-location default -verbose -kubernetes-version=1.19.0 *.yaml
pod-identity-webhook.yaml - MutatingWebhookConfiguration pod-identity-webhook is valid
controllerrevision1.yaml - ControllerRevision cloudwatch-agent-74cb9dfbcb is valid
daemonset1.yaml - DaemonSet cloudwatch-agent is valid
[16:47:43][giorgio@elife-XPS-13-9370:~/code/sciety]$ kubeconform -schema-location default -verbose -kubernetes-version=1.15.0 *.yaml
pod-identity-webhook.yaml - MutatingWebhookConfiguration pod-identity-webhook failed validation: could not find schema for MutatingWebhookConfiguration
controllerrevision1.yaml - ControllerRevision cloudwatch-agent-74cb9dfbcb is invalid: For field data: Raw is required
daemonset1.yaml - DaemonSet cloudwatch-agent is valid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment