Skip to content

Add namespaces to all resources in ./charts.

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

Merge request reports

Loading