homek8s/infrastructure/databases/base/kustomization.yaml

27 lines
1.5 KiB
YAML
Raw Permalink Normal View History

# CloudNativePG operator, pinned at 1.30.0, plus the CNPG-I Barman Cloud plugin.
#
# The operator was installed by hand at some point and Flux did not own it, so
# a kubectl patch was lost on every reinstall. The upstream release manifest is
# vendored verbatim (sha256 f8bede43fe4ee0d478c2355b204a36876b2ae4faac60f2a9452280b293da3b88,
# https://github.com/cloudnative-pg/cloudnative-pg/releases/download/v1.30.0/cnpg-1.30.0.yaml)
# and patched only for the deltas that already existed live plus the widened
# leader-election window. Do not upgrade the version in this directory without
# a separate, tested change: the CRDs are in this bundle.
#
# The Barman Cloud plugin is the replacement for the in-tree barman-cloud
# integration that 1.30 still ships but deprecates (removed in 1.31). Also
# vendored verbatim (sha256
# aee614683892dd4b44ff9f7afaca55254f1c28de17abbaa0552bf2e1228f7155,
# https://github.com/cloudnative-pg/plugin-barman-cloud/releases/download/v0.16.0/manifest.yaml):
# a separate Deployment in cnpg-system, registered with the operator through
# Service annotations, carrying the `ObjectStore` CRD (barmancloud.cnpg.io). Its
# operator<->plugin mTLS pair is issued by cert-manager (Flux Kustomization
# `cert-manager`). v0.16.0 requires CloudNativePG >= 1.30 — satisfied above.
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- upstream/cnpg-1.30.0.yaml
- upstream/plugin-barman-cloud-0.16.0.yaml
patches:
- path: patch-controller-manager.yaml
- path: patch-barman-cloud.yaml