Skip to content

Commit

Permalink
add test for changing the order
Browse files Browse the repository at this point in the history
Signed-off-by: terasihma <[email protected]>
  • Loading branch information
terassyi committed May 25, 2023
1 parent 169e41d commit ba1811d
Show file tree
Hide file tree
Showing 6 changed files with 367 additions and 27 deletions.
8 changes: 4 additions & 4 deletions docs/user-resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ The resources are applied in the following order according to their kind.

### Custom order

Users can control the order of applying resources by annotating `cke.cybozu.com/rank`.
In the case of cluster-scope resources, a rank value must be 0 ~ 1999.
For namespace-scope resources, a rank value must be 2000 ~.
Users can customize the order of applying resources by annotating `cke.cybozu.com/rank`.
In the case of cluster-scoped resources, a rank value must be 0-1999.
For namespace-scoped resources, a rank value must be 2000-.

If `cke.cybozu.com/rank` is not set, the rank is assigned a value based on the abovementioned list.
If `cke.cybozu.com/rank` is not set, the rank is defaulted to a value based on the aforementioned list.

## Annotations

Expand Down
Loading

0 comments on commit ba1811d

Please sign in to comment.