Parameters
The parent key for all of the following parameters is namespaces.
ignoreList
| type |
array |
| default |
['default', 'kube', 'syn'] |
List of prefixes that are not allowed to be configured.
labelSync
Configures dynamic Roles and RoleBindings managed by Espejote.
labelSync.ignoredNames
| type |
list of strings |
| default |
empty list |
A list of namespace names where no labels will be applied.
Entries in the list can be removed by adding the entry prefixed with a ~.
labelSync.ignoredPrefixes
| type |
list of strings |
| default |
|
A list of namespace name-prefixes where no labels will be applied.
Entries in the list can be removed by adding the entry prefixed with a ~.
labelSync.applyOnPrefix
| type |
dict |
||||
| default |
|
||||
| example |
|
Custom set of namespace prefixes, where the listed labels will be applied.
See Using LabelSync on Namespace Prefixes for a detailed explanation.
|
Using this with too broad settings can have unintended sideeffects! |
Example
applications:
- namespaces as namespaces-team1 (1)
parameters:
syn:
teams:
team1:
instances:
- namespaces-team1 (2)
namespaces_team1:
namespaces:
plain-namespace: {}
with-annotations:
annotations:
team: team1
with-labels:
labels:
team: team1
| 1 | Make sure you include the component as an instance. |
| 2 | Make sure you configure ownership of the instance if you are not the cluster owner. |