mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-02 21:41:46 +02:00
document configmap variant of inherited_labels (#678)
* document configmap varient of inherited_labels and remove application label from cluster example since we will get application:spilo by default
This commit is contained in:
committed by
Felix Kunde
parent
baae1887b3
commit
e3b39a5cbe
@@ -200,6 +200,18 @@ Postgres cluster, in order to identify its child objects. The typical use case
|
||||
is to add labels that identifies the `Pods` created by the operator, in order
|
||||
to implement fine-controlled `NetworkPolicies`.
|
||||
|
||||
**postgres-operator ConfigMap**
|
||||
|
||||
```yaml
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: postgres-operator
|
||||
data:
|
||||
inherited_labels: application,environment
|
||||
...
|
||||
```
|
||||
|
||||
**OperatorConfiguration**
|
||||
|
||||
```yaml
|
||||
|
||||
Reference in New Issue
Block a user