Example for Kustomize feature mergeall.
Apply using
kubectl apply -k overlay/dev
Deploys example application roles with different configMap on each level:
- Environment overlay level - example uses dev environment, that configures environment name
- Cluster level - configures common cluster connections. This level should override properties from environment level
- Role level - defines common properties for given role. Any property defined here should override properties from above levels
- Base level - defines base role properties