stackgres.io/reconciliation-pause and stackgres.io/reconciliation-pause-until-restart do not work on generated resources
Summary
After applying stackgres.io/reconciliation-pause
or stackgres.io/reconciliation-pause-until-restart
to a resource generated by the StackGres operator reconciliation cycle has no effect.
Current Behaviour
The resource is updated and the annotation stackgres.io/reconciliation-pause
or stackgres.io/reconciliation-pause-until-restart
removed.
Steps to reproduce
- Create a cluster.
- Add annotation
stackgres.io/reconciliation-pause
with value"true"
to the StatefulSet resource and add an env var to any container.
Expected Behaviour
The annotation is not removed and the resource is no longer updated or deleted.
Environment
- StackGres version: 1.0.0-beta1
- Kubernetes version: ?
- Cloud provider or hardware configuration: ?
Edited by Matteo Melli