Skip to content
  • Matthias's avatar
    Add namespaces to all resources in ./charts. · b6e15e57
    Matthias authored
    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 metadata structure from any order to [name, namespace, labels/annotations]. I think that is clearer/more consistent.
    b6e15e57