Skip to content

Commit 07c5da3

Browse files
authored
fix minor issues in docs and manifests (zalando#866)
* fix minor issues in docs and manifests * double retry_timeout_sec
1 parent 9ddee8f commit 07c5da3

File tree

8 files changed

+24
-24
lines changed

8 files changed

+24
-24
lines changed

docs/reference/cluster_manifest.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ These parameters are grouped directly under the `spec` key in the manifest.
111111
value overrides the `pod_toleration` setting from the operator. Optional.
112112

113113
* **podPriorityClassName**
114-
a name of the [priority
115-
class](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass)
116-
that should be assigned to the cluster pods. When not specified, the value
117-
is taken from the `pod_priority_class_name` operator parameter, if not set
118-
then the default priority class is taken. The priority class itself must be
119-
defined in advance. Optional.
114+
a name of the [priority
115+
class](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass)
116+
that should be assigned to the cluster pods. When not specified, the value
117+
is taken from the `pod_priority_class_name` operator parameter, if not set
118+
then the default priority class is taken. The priority class itself must be
119+
defined in advance. Optional.
120120

121121
* **podAnnotations**
122122
A map of key value pairs that gets attached as [annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/)
@@ -184,9 +184,9 @@ explanation of `ttl` and `loop_wait` parameters.
184184
```
185185
hostssl all +pamrole all pam
186186
```
187-
, where pamrole is the name of the role for the pam authentication; any
188-
custom `pg_hba` should include the pam line to avoid breaking pam
189-
authentication. Optional.
187+
where pamrole is the name of the role for the pam authentication; any
188+
custom `pg_hba` should include the pam line to avoid breaking pam
189+
authentication. Optional.
190190

191191
* **ttl**
192192
Patroni `ttl` parameter value, optional. The default is set by the Spilo
@@ -379,4 +379,4 @@ Those parameters are grouped under the `tls` top-level key.
379379

380380
* **caFile**
381381
Optional filename to the CA certificate. Useful when the client connects
382-
with `sslmode=verify-ca` or `sslmode=verify-full`.
382+
with `sslmode=verify-ca` or `sslmode=verify-full`. Default is empty.

docs/reference/operator_parameters.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -285,11 +285,11 @@ configuration they are grouped under the `kubernetes` key.
285285
capability. The default is `false`.
286286

287287
* **master_pod_move_timeout**
288-
The period of time to wait for the success of migration of master pods from
289-
an unschedulable node. The migration includes Patroni switchovers to
290-
respective replicas on healthy nodes. The situation where master pods still
291-
exist on the old node after this timeout expires has to be fixed manually.
292-
The default is 20 minutes.
288+
The period of time to wait for the success of migration of master pods from
289+
an unschedulable node. The migration includes Patroni switchovers to
290+
respective replicas on healthy nodes. The situation where master pods still
291+
exist on the old node after this timeout expires has to be fixed manually.
292+
The default is 20 minutes.
293293

294294
* **enable_pod_antiaffinity**
295295
toggles [pod anti affinity](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/)

docs/user.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ spec:
3030
databases:
3131
foo: zalando
3232
postgresql:
33-
version: "11"
33+
version: "12"
3434
```
3535
3636
Once you cloned the Postgres Operator [repository](https://github.com/zalando/postgres-operator)
@@ -515,9 +515,9 @@ executed.
515515
## Custom TLS certificates
516516

517517
By default, the spilo image generates its own TLS certificate during startup.
518-
This certificate is not secure since it cannot be verified and thus doesn't
519-
protect from active MITM attacks. In this section we show how a Kubernete
520-
Secret resources can be loaded with a custom TLS certificate.
518+
However, this certificate cannot be verified and thus doesn't protect from
519+
active MITM attacks. In this section we show how to specify a custom TLS
520+
certificate which is mounted in the database pods via a K8s Secret.
521521

522522
Before applying these changes, the operator must also be configured with the
523523
`spilo_fsgroup` set to the GID matching the postgres user group. If the value

e2e/tests/test_e2e.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ class K8s:
473473
Wraps around K8 api client and helper methods.
474474
'''
475475

476-
RETRY_TIMEOUT_SEC = 5
476+
RETRY_TIMEOUT_SEC = 10
477477

478478
def __init__(self):
479479
self.api = K8sApi()

manifests/complete-postgres-manifest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
databases:
2525
foo: zalando
2626
postgresql:
27-
version: "11"
27+
version: "12"
2828
parameters: # Expert section
2929
shared_buffers: "32MB"
3030
max_connections: "10"

manifests/minimal-postgres-manifest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ spec:
1616
databases:
1717
foo: zalando # dbname: owner
1818
postgresql:
19-
version: "11"
19+
version: "12"

manifests/standby-manifest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ spec:
99
size: 1Gi
1010
numberOfInstances: 1
1111
postgresql:
12-
version: "11"
12+
version: "12"
1313
# Make this a standby cluster and provide the s3 bucket path of source cluster for continuous streaming.
1414
standby:
1515
s3_wal_path: "s3://path/to/bucket/containing/wal/of/source/cluster/"

ui/manifests/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
serviceAccountName: postgres-operator-ui
2121
containers:
2222
- name: "service"
23-
image: registry.opensource.zalan.do/acid/postgres-operator-ui:v1.3.0
23+
image: registry.opensource.zalan.do/acid/postgres-operator-ui:v1.4.0
2424
ports:
2525
- containerPort: 8081
2626
protocol: "TCP"

0 commit comments

Comments
 (0)