# cert-manager — installed for one reason: the Barman Cloud CNPG-I plugin # expects its operator/plugin mTLS pair as cert-manager `Certificate` objects # (the upstream v0.16.0 manifest ships an Issuer + two Certificates and assumes # cert-manager is present). CNPG-I *can* run on hand-made cert bundles, but that # would put a CA private key in a hand-maintained Secret with no renewal; the # chart is the supported path and is ~3 small pods. # # CRDs: `crds.enabled: true` is required — `Certificate`/`Issuer` do not exist # otherwise. The chart annotates its CRDs with `helm.sh/resource-policy: keep`, # so uninstalling the release does not delete issued certs' CRDs out from under # the running plugin. Do not add `crds.keep: false`. apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: cert-manager namespace: cert-manager spec: releaseName: cert-manager interval: 15m chart: spec: chart: cert-manager version: "v1.21.3" sourceRef: kind: HelmRepository name: jetstack namespace: cert-manager install: crds: CreateReplace remediation: retries: 3 upgrade: crds: CreateReplace remediation: retries: 3 values: crds: enabled: true # Homelab sizing: upstream requests are already small, but the webhook and # cainjector each get a memory ceiling so a runaway cannot evict the CNPG # primary that shares this node. resources: requests: cpu: 10m memory: 64Mi limits: memory: 192Mi webhook: resources: requests: cpu: 10m memory: 32Mi limits: memory: 128Mi cainjector: resources: requests: cpu: 10m memory: 64Mi limits: memory: 192Mi # No Prometheus Operator CRs here (ServiceMonitor is not installed). prometheus: enabled: false