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
- configurations
- configurations.annotations
A list of annotations in the
key: "value"
format.Example:
annotations: example: 'true'
- configurations.excludeNames
A list of namespace patterns to exclude.
Default:
[]
Example:
excludeNames: - infra-test
- configurations.includeNames
Required value
A list of namespace patterns to include.
Default:
[]
Example:
includeNames: - prod-.* - infra-.*
- configurations.labels
A list of labels in the
key: "value"
format.Example:
labels: istio-injection: 'true'