The Barman Cloud plugin release manifest ships an Issuer plus two Certificate objects (operator->plugin mTLS) and assumes cert-manager is present. Installing it as a HelmRelease off charts.jetstack.io with crds.enabled=true, in its own Flux Kustomization so the databases Kustomization can wait on it. No new cert is issued by this commit; the plugin (next change) is the only consumer.
18 lines
541 B
YAML
18 lines
541 B
YAML
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
kind: Kustomization
|
|
metadata:
|
|
name: cert-manager
|
|
namespace: flux-system
|
|
spec:
|
|
interval: 10m0s
|
|
retryInterval: 1m
|
|
timeout: 5m
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: flux-system
|
|
path: ./infrastructure/controllers/cert-manager
|
|
# The HelmRelease owns the chart; pruning the Kustomization deletes the
|
|
# release object, and the chart's CRDs carry `helm.sh/resource-policy: keep`
|
|
# so they survive. Nothing here is a bare CRD in git, hence prune: true.
|
|
prune: true
|
|
wait: true
|