Skip to content

Commit dfe23be

Browse files
committed
Update parameter reference docs
Signed-off-by: Stephan Austermühle <[email protected]>
1 parent be0971b commit dfe23be

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

docs/reference/operator_parameters.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ configuration they are grouped under the `kubernetes` key.
425425
environment if they not if conflict with the environment variables generated
426426
by the operator. The WAL location (bucket path) can be overridden, though.
427427
The default is empty.
428-
428+
429429
* **pod_environment_secret**
430430
similar to pod_environment_configmap but referencing a secret with custom
431431
environment variables. Because the secret is not allowed to exist in a
@@ -453,6 +453,15 @@ configuration they are grouped under the `kubernetes` key.
453453
non-root process, but requires a custom Spilo image. Note the FSGroup of a Pod
454454
cannot be changed without recreating a new Pod.
455455

456+
* **pod_fs_group_change_policy**
457+
Configure the `fsGroupChangePolicy` in the Pod `securityContext` to
458+
avoid invalid volume permissions after `kubelet` restarts. See *[Configure volume permission and ownership change policy for Pods](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#configure-volume-permission-and-ownership-change-policy-for-pods)*
459+
for details. If specified, valid options are `OnRootMismatch`
460+
(change permissions and ownership if the permission and the
461+
ownership of root directory does not match with expected permissions
462+
of the volume) and `Always` (always change permission and ownership
463+
of the volume when volume is mounted).
464+
456465
* **spilo_privileged**
457466
whether the Spilo container should run in privileged mode. Privileged mode is
458467
used for AWS volume resizing and not required if you don't need that
@@ -552,7 +561,7 @@ effect, and the parameters are grouped under the `timeouts` key in the
552561
CRD-based configuration.
553562

554563
* **PatroniAPICheckInterval**
555-
the interval between consecutive attempts waiting for the return of
564+
the interval between consecutive attempts waiting for the return of
556565
Patroni Api. The default is `1s`.
557566

558567
* **PatroniAPICheckTimeout**
@@ -750,7 +759,7 @@ grouped under the `logical_backup` key.
750759
is specified, no argument will be passed to `aws s3` command. Default: "AES256".
751760

752761
* **logical_backup_s3_retention_time**
753-
Specify a retention time for logical backups stored in S3. Backups older than the specified retention
762+
Specify a retention time for logical backups stored in S3. Backups older than the specified retention
754763
time will be deleted after a new backup was uploaded. If empty, all backups will be kept. Example values are
755764
"3 days", "2 weeks", or "1 month". The default is empty.
756765

0 commit comments

Comments
 (0)