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:
Erik Inge Bolsø
2019-10-05 10:10:02 +02:00
committed by Felix Kunde
parent baae1887b3
commit e3b39a5cbe
6 changed files with 18 additions and 4 deletions
+12
View File
@@ -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