Skip to content

namespaces

To add a namespace to namespaces add the following to values.yaml:

namespaces:
  setPreInstallHook: true
  spaces:
    - name: monitoring

The value setPreInstallHook should set always "true". So, the namespace will set bevore other objects are created.

Please Note: a namespace that was created with Hook will never removed when you helm uninstall <releaseName> your release.

You can add multiple values too.

namespaces:
  setPreInstallHook: true
  spaces:
    - name: monitoring
    - name: mywebapplication
    - name: debugtools