The module is enabled by default in the following bundles: Default
, Managed
.
The module is disabled by default in the Minimal
bundle.
The module is configured using the ModuleConfig custom resource named namespace-configurator
(learn more about setting up Deckhouse…).
Example of the ModuleConfig/namespace-configurator
resource for configuring the module:
apiVersion: deckhouse.io/v1alpha1
kind: ModuleConfig
metadata:
name: namespace-configurator
spec:
version: 1
enabled: true
settings: # <-- Module parameters from the "Parameters" section below.
Parameters
Schema version: 1
- configurationsarray of objects
- configurations.annotationsobject
A list of annotations in the
key: "value"
format.Example:
annotations: extended-monitoring.flant.com/enabled: 'true'
- configurations.excludeNamesarray of strings
A list of namespace patterns to exclude.
Default:
[]
Example:
excludeNames: - infra-test
- configurations.includeNamesarray of strings
Required value
A list of namespace patterns to include.
Default:
[]
Example:
includeNames: - prod-.* - infra-.*
- configurations.labelsobject
A list of labels in the
key: "value"
format.Example:
labels: istio-injection: 'true'
- configurations.annotationsobject