Add namespaces to all resources in ./charts.
requested to merge matthias.vandemeent/cloud-native-gitlab:feature/add-namespace-definitions-to-resources into master
This is useful for manual debugging templated resources, and consistency in (sub)-charts:
- charts are rendered with .Release.Namespace in their config values, meaning it will look at resources in that namespace.
- If you use
helm template --namespace a | kubectl apply --namespace b
the configuration will not point to an incorrect namespace: the resources are specified for the correct namespace.
[Opinionated]: I moved the internal metadata structure from any order to [name, namespace, labels/annotations]. I think that is clearer/more consistent.
Edited by Matthias van de Meent