monitoring: add s3 retention policy
Loki configuration was not running any log retention and the Object Storage is increasing without limits.
Now log retention is set for 6 months in the Apertis cluster and 1 month for the Development cluster.
Each time the retention configuration is executed, Ansible reports a change even if no actual changes are made:
new_rule:
Expiration:
Days: 30
Filter:
Prefix: ''
ID: Expiration
Status: Enabled
old_rules:
- Expiration:
Days: 30
ID: Expiration
Prefix: ''
Status: Enabled
rules:
- Expiration:
Days: 30
ID: Expiration
Prefix: ''
Status: Enabled
Phabricator Task: T10835
Signed-off-by: Pablo Vigo pvigo@collabora.com