Skip to content

Commit 9347959

Browse files
committed
Fixed documentation, the time.duration for pitr_backup_retention does not accepts 'd'
1 parent 5afd332 commit 9347959

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

docs/reference/operator_parameters.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ configuration.
99
Variable names are underscore-separated words.
1010

1111
### ConfigMaps-based
12+
1213
The configuration is supplied in a
1314
key-value configmap, defined by the `CONFIG_MAP_NAME` environment variable.
1415
Non-scalar values, i.e. lists or maps, are encoded in the value strings using
@@ -25,6 +26,7 @@ operator CRD, all the CRD defaults are provided in the
2526
[operator's default configuration manifest](https://github.com/zalando/postgres-operator/blob/master/manifests/postgresql-operator-default-configuration.yaml)
2627

2728
### CRD-based configuration
29+
2830
The configuration is stored in a custom YAML
2931
manifest. The manifest is an instance of the custom resource definition (CRD)
3032
called `OperatorConfiguration`. The operator registers this CRD during the
@@ -172,7 +174,7 @@ Those are top-level keys, containing both leaf keys and groups.
172174
period between consecutive repair requests. The default is `5m`.
173175

174176
* **pitr_backup_retention**
175-
retention time for PITR (Point-In-Time-Recovery) state ConfigMaps. The operator will clean up ConfigMaps older than the configured retention. The value is a [duration string](https://pkg.go.dev/time#ParseDuration), e.g. "168h" (which is 7 days), "7d", "24h". The default is `168h`.
177+
retention time for PITR (Point-In-Time-Recovery) state ConfigMaps. The operator will clean up ConfigMaps older than the configured retention. The value is a [duration string](https://pkg.go.dev/time#ParseDuration), e.g. "168h" (which is 7 days), "24h". The default is `168h`.
176178

177179
* **set_memory_request_to_limit**
178180
Set `memory_request` to `memory_limit` for all Postgres clusters (the default
@@ -921,6 +923,7 @@ key.
921923
```yaml
922924
teams_api_role_configuration: "log_statement:all,search_path:'data,public'"
923925
```
926+
924927
The default is `"log_statement:all"`
925928
926929
* **enable_team_superuser**

docs/user.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ kind: postgresql
107107
metadata:
108108
name: acid-minimal-cluster
109109
spec:
110-
[...]
110+
[...]
111111
postgresql:
112112
version: "17"
113113
parameters:

0 commit comments

Comments
 (0)