diff --git a/docs/reference/cluster_manifest.md b/docs/reference/cluster_manifest.md index c87728812..1e97f0771 100644 --- a/docs/reference/cluster_manifest.md +++ b/docs/reference/cluster_manifest.md @@ -166,6 +166,11 @@ These parameters are grouped directly under the `spec` key in the manifest. If you set the `all` special item, it will be mounted in all containers (postgres + sidecars). Else you can set the list of target containers in which the additional volumes will be mounted (eg : postgres, telegraf) + * **statefulset_propagate_annotations** + An array of annotations from PostgresCRD that should be passed on to the statefulsets. + This also accepts the regular expression like downscaler/*, etc. + These annotations will also be passed to the connection-pooler deployments if any. + ## Postgres parameters Those parameters are grouped under the `postgresql` top-level key, which is diff --git a/docs/reference/operator_parameters.md b/docs/reference/operator_parameters.md index af6e93d25..b7d69ab80 100644 --- a/docs/reference/operator_parameters.md +++ b/docs/reference/operator_parameters.md @@ -151,6 +151,11 @@ Those are top-level keys, containing both leaf keys and groups. [operator deployment manually](../../manifests/postgres-operator.yaml#L20). The default is `false`. +* **statefulset_propagate_annotations** + An array of annotations from PostgresCRD that should be passed on to the statefulsets. + This also accepts the regular expression like downscaler/*, etc. + These annotations will also be passed to the connection-pooler deployments if any. + ## Postgres users Parameters describing Postgres users. In a CRD-configuration, they are grouped diff --git a/manifests/operatorconfiguration.crd.yaml b/manifests/operatorconfiguration.crd.yaml index 2d3e614b9..5fd67aee9 100644 --- a/manifests/operatorconfiguration.crd.yaml +++ b/manifests/operatorconfiguration.crd.yaml @@ -34,6 +34,10 @@ spec: configuration: type: object properties: + # statefulset_propagate_annotations: + # type: array + # items: + # type: string docker_image: type: string enable_crd_validation: diff --git a/manifests/postgresql-operator-default-configuration.yaml b/manifests/postgresql-operator-default-configuration.yaml index 78312b684..479aac765 100644 --- a/manifests/postgresql-operator-default-configuration.yaml +++ b/manifests/postgresql-operator-default-configuration.yaml @@ -4,6 +4,9 @@ metadata: name: postgresql-operator-default-configuration configuration: docker_image: registry.opensource.zalan.do/acid/spilo-cdp-12:1.6-p115 + # statefulset_propagate_annotation: + # - deployment-time + # - downscaler/* # enable_crd_validation: true # enable_lazy_spilo_upgrade: false # enable_shm_volume: true