cloudnative-pg / cloudnative-pg/plugin-barman-cloud

WAL arhives uploaded always, ignoring isWALArchiver setting

Open
#606 6 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Go
Stars
191
Forks
72
Avg merge
2d 21h
Merged PRs (30d)
21

Description

If user will omit or configure `isWALArchiver=false` inside cluster CR - barman-cloud plugin will still upload WAL to S3.

Steps done:
Tried omitting `isWALArchiver`:
```
plugins:
- name: barman-cloud.cloudnative-pg.io
enabled: true
parameters:
barmanObjectName: cnpg-cluster-01-backup
```
and setting it to `false`:

```
plugins:
- name: barman-cloud.cloudnative-pg.io
enabled: true
isWALArchiver: false
parameters:
barmanObjectName: cnpg-cluster-01-backup
```
Expected result: no `wal` folder would be created
Actual result: cnpg-cluster-01-backup S3 object get `wal` folder and files inside after cluster creation

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.