Skip to content

Commit

Permalink
Merge pull request #47 from cybozu-go/clarify-manual
Browse files Browse the repository at this point in the history
docs: clarify the behavior of label/annotation propagation
  • Loading branch information
ymmt2005 authored Feb 3, 2022
2 parents d9c2439 + 60e0771 commit 8c32d2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Any Namespace other than sub-namespaces can reference a template Namespace with

Sub-namespace can reference a root or another sub-namespace as its parent.

Accurate propagates the Namespace labels, annotations, and namespace-scope resources from a referenced Namespace to referencing Namespaces.
When configured to do so, Accurate propagates the Namespace labels, annotations, and namespace-scope resources from a referenced Namespace to referencing Namespaces.

Circular references are prohibited by an admission webhook.

Expand Down
2 changes: 2 additions & 0 deletions docs/subnamespaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ metadata:
team: foo
```

Accurate only propagates labels/annotations that have been configured in that respect via the `labelKeys` and `annotationKeys` parameters in `config.yaml`. This prevents the propagation of labels/annotations that were not meant to do so.

### Preparing resources for tenant users

In almost all cases, a root Namespace should have RoleBinding for a group of tenant users.
Expand Down

0 comments on commit 8c32d2f

Please sign in to comment.