purposes, leaving the original YAML untouched and usable as is.” This tools is originally sponsored by sig-cli as mentioned in the KEP. TL;DR • Helps customizing config files in a template free way. • Provides a number of handy methods like generators to make customization easier, e.g ConfigMap and Secret • Provides patches to introduce environment specific changes on an already existing standard config file without disturbing the original files Kustomize
of the resources that you’d like to apply the configuration over them • Create variants using overlays, generally speaking an overlay is just another Kustomization file which will be referring to base configuration and additional patches that you’d like to apply for each of the environments Kustomize Usage
fields: resources, crds. meta - fields which may influence all or some of the above. Example fields: vars, namespace, apiVersion, kind, etc generators - what new resources should be created. Example fields: configMapGenerator (legacy), secretGenerator (legacy), generators (v2.1). transformers: alter specific bits of your resource definitions. e.g. labels, annotations
the 2 fundamentals concept in kpt are: • Packages. A package is a bundle of configuration data, which is explicitly declare inside of Kptfile. Note that a package can be a part of another package, called as a subpackage. • Functions. A containerized program that can perform CRUD operations on Kubernetes Resource Model (KRM) resources stored on your local, it also act as a mechanism to automate mutation and validation of KRM resources. Kpt Concepts
the upstream Git reference (exact Git SHA) that was fetched by kpt. This section is managed and should not be changed manually. Modified from: Getting a Package
tagged. Images that needs to be build, in this case the image is build using jib. Describes how the images are deployed Override for multiple environments. More references can be seen in this page.
optimized OCI-compliant container images for Java applications without a Docker daemon. Tagger: inputDigest: if there’s no changes inside the source files then the tag won’t be changed.