Skip to content

Instantly share code, notes, and snippets.

@makocchi-git
Created January 22, 2020 08:59
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 makocchi-git/dcb1700e7189fc8e737b4a7fbdaa3033 to your computer and use it in GitHub Desktop.
Save makocchi-git/dcb1700e7189fc8e737b4a7fbdaa3033 to your computer and use it in GitHub Desktop.
$ kubeval invalid-deployment2.yaml
PASS - invalid-deployment2.yaml contains a valid Deployment

# --strict を付けることで WARN になる
$ kubeval --strict invalid-deployment2.yaml
WARN - invalid-deployment2.yaml contains an invalid Deployment - location: Additional property location is not allowed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment