Hey everyone! I'm currently using Cloud Native PostgreSQL (CNPG) and I've run into a bit of a hurdle. The Helm chart for my cluster is not up to par and doesn't support configuring plugins like the Barman Cloud Plugin, which is actually the best way to handle backups. I'm not really familiar with Kustomize yet, but from what I hear, it might help me out with this issue.
I want to insert this snippet into the rendered Cluster manifest:
```yaml
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: cluster-example
spec:
plugins:
- name: barman-cloud.cloudnative-pg.io
isWALArchiver: true
parameters:
barmanObjectName: minio-store
```
Also, I should mention that the chart is rendered by ArgoCD. Any advice would be appreciated! Thanks!
1 Answer
I usually set up a multi-source ArgoCD Application and add in customizations with Kustomize. Essentially, you should have three sources: the Helm chart itself, your values files, and your Kustomize additions. For example, I typically use one main values file along with another for cluster-specific overrides. It helps keep things organized!

That sounds great! Would you mind sharing your directory structure or some redacted files? I'm trying to picture how this all fits together.