amazon-eks-ami
amazon-eks-ami copied to clipboard
Need a way to validate custom AMI images
When folks customize their AMI(s) it would be good to have some way to validate that they haven't broken any expectations of the maintainers of this repository ( with a basic sanity/sniff test). This will possibly help reduce the time to iterate trying each change over and over again.
For example, in the upstream CAPI project called image-builder, they use a tool called goss
:
- https://github.com/goss-org/goss
Here's their readme/howto:
- https://github.com/kubernetes-sigs/image-builder/blob/master/docs/book/src/capi/goss/goss.md
Here's a quick search of that codebase:
- https://github.com/search?q=repo%3Akubernetes-sigs%2Fimage-builder%20goss&type=code
Here's an example where they check for some kernel parameters are set correctly:
- https://github.com/kubernetes-sigs/image-builder/blob/master/images/capi/packer/goss/goss-kernel-params.yaml#L2-L18