mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 14:47:34 +02:00
Configure annotations to be ignored in comparisons during sync (#1823)
* feat: add ignored annotations when comparing during sync Co-authored-by: Felix Kunde <felix-kunde@gmx.de> Co-authored-by: Moshe Immerman <moshe@flanksource.com>
This commit is contained in:
co-authored by
Moshe Immerman
parent
36df1bc87c
commit
654d22d04a
@@ -287,6 +287,12 @@ configuration they are grouped under the `kubernetes` key.
|
||||
Regular expressions like `downscaler/*` etc. are also accepted. Can be used
|
||||
with [kube-downscaler](https://github.com/hjacobs/kube-downscaler).
|
||||
|
||||
* **ignored_annotations**
|
||||
Some K8s tools inject and update annotations out of the Postgres Operator
|
||||
control. This can cause rolling updates on each cluster sync cycle. With
|
||||
this option you can specify an array of annotation keys that should be
|
||||
ignored when comparing K8s resources on sync. The default is empty.
|
||||
|
||||
* **watched_namespace**
|
||||
The operator watches for Postgres objects in the given namespace. If not
|
||||
specified, the value is taken from the operator namespace. A special `*`
|
||||
|
||||
Reference in New Issue
Block a user