Skip to content

Commit eedef62

Browse files
black-dragon74mergify[bot]
authored andcommitted
docs: Update docs for schedule-precedence in ConfigMap
Signed-off-by: Niraj Yadav <niryadav@redhat.com>
1 parent 5af0733 commit eedef62

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docs/csi-addons-config.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@ CSI-Addons Operator can consume configuration from a ConfigMap named `csi-addons
44
in the same namespace as the operator. This enables configuration of the operator to persist across
55
upgrades. The ConfigMap can support the following configuration options:
66

7-
| Option | Default value | Description |
8-
| --------------------------- | ------------- | ------------------------------------------------ |
9-
| `reclaim-space-timeout` | `"3m"` | Timeout for reclaimspace operation |
10-
| `max-concurrent-reconciles` | `"100"` | Maximum number of concurrent reconciles |
11-
| `max-group-pvcs` | `"100"` | Maximum number of PVCs allowed in a volume group |
7+
| Option | Default value | Description |
8+
| --------------------------- | ------------- | --------------------------------------------------------- |
9+
| `reclaim-space-timeout` | `"3m"` | Timeout for reclaimspace operation |
10+
| `max-concurrent-reconciles` | `"100"` | Maximum number of concurrent reconciles |
11+
| `max-group-pvcs` | `"100"` | Maximum number of PVCs allowed in a volume group |
12+
| `schedule-precedence` | `"pvc"` | The order in which the schedule annotation should be read |
1213

1314
[`csi-addons-config` ConfigMap](../deploy/controller/csi-addons-config.yaml) is provided as an example.
1415

1516
> Note: The operator pod needs to be restarted for any change in configuration to take effect.
1617
>
1718
> Note: `max-group-pvcs` default value is set based on ceph's support/testing. User can tweak this value based on the supported count for their storage vendor.
19+
>
20+
> Note: The valid values for `schedule-precedence` are `storageclass` and `pvc`. If set to `storageclass` only the annotations from StorageClasses are considered for schedule of reclaim space and key rotation. `pvc` reads annotations in the order of: PVC > NS > StorageClasses.

0 commit comments

Comments
 (0)