feat: Added barman cloud plugin

This commit is contained in:
2025-12-15 03:52:35 +01:00
parent d5c6429205
commit 3ff885a6ac
4 changed files with 27 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ resources:
- ../../controllers/longhorn/longhorn.yaml - ../../controllers/longhorn/longhorn.yaml
- ../../controllers/local-path-provisioner/local-path-provisioner.yaml - ../../controllers/local-path-provisioner/local-path-provisioner.yaml
- ../../controllers/cnpg/cnpg.yaml - ../../controllers/cnpg/cnpg.yaml
- ../../controllers/barman-cloud-plugin/barman-cloud-plugin.yaml
- ../../configs/artifacts.yaml - ../../configs/artifacts.yaml
- ../../configs/letsencrypt/letsencrypt.yaml - ../../configs/letsencrypt/letsencrypt.yaml

View File

@@ -44,3 +44,8 @@ spec:
copy: copy:
- from: "@foundation/controllers/cnpg/**" - from: "@foundation/controllers/cnpg/**"
to: "@artifact/" to: "@artifact/"
- name: barman-cloud-plugin
originRevision: "@foundation"
copy:
- from: "@foundation/controllers/barman-cloud-plugin/**"
to: "@artifact/"

View File

@@ -0,0 +1,17 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: barman-cloud-plugin
namespace: flux-system
spec:
interval: 1h
retryInterval: 2m
timeout: 5m
dependsOn:
- name: cnpg
sourceRef:
kind: ExternalArtifact
name: barman-cloud-plugin
path: .
prune: true
wait: true

View File

@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/cloudnative-pg/plugin-barman-cloud/releases/download/v0.9.0/manifest.yaml