Skip to content

Instantly share code, notes, and snippets.

@makocchi-git
Last active January 22, 2020 08:49
Show Gist options
  • Save makocchi-git/c6afdc60196f05c7dbb391cadc348ce7 to your computer and use it in GitHub Desktop.
Save makocchi-git/c6afdc60196f05c7dbb391cadc348ce7 to your computer and use it in GitHub Desktop.
$ kubeval invalid-deployment.yaml
WARN - invalid-deployment.yaml contains an invalid Deployment - spec.replicas: Invalid type. Expected: [integer,null], given: string
WARN - invalid-deployment.yaml contains an invalid Deployment - port: Additional property port is not allowed

$ echo $?
1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment