36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
|
|
# Delta on the vendored Barman Cloud plugin manifest (0.16.0).
|
||
|
|
#
|
||
|
|
# Upstream ships the plugin operator with `--log-level=debug`. On this cluster
|
||
|
|
# nothing scrapes the plugin's logs and siriussec's root filesystem is the
|
||
|
|
# tightest disk in the estate, so the arg is lowered to `info`. Everything else
|
||
|
|
# in the release manifest is used verbatim — including the Service annotations
|
||
|
|
# (`cnpg.io/pluginName`, `cnpg.io/pluginPort`, `cnpg.io/pluginClientSecret`,
|
||
|
|
# `cnpg.io/pluginServerSecret`) that are the actual CNPG-I registration.
|
||
|
|
#
|
||
|
|
# The whole `args` list is restated because strategic merge replaces a container
|
||
|
|
# `args` list rather than merging it.
|
||
|
|
apiVersion: apps/v1
|
||
|
|
kind: Deployment
|
||
|
|
metadata:
|
||
|
|
name: barman-cloud
|
||
|
|
namespace: cnpg-system
|
||
|
|
spec:
|
||
|
|
template:
|
||
|
|
spec:
|
||
|
|
containers:
|
||
|
|
- name: barman-cloud
|
||
|
|
args:
|
||
|
|
- operator
|
||
|
|
- --server-cert=/server/tls.crt
|
||
|
|
- --server-key=/server/tls.key
|
||
|
|
- --client-cert=/client/tls.crt
|
||
|
|
- --server-address=:9090
|
||
|
|
- --leader-elect
|
||
|
|
- --log-level=info
|
||
|
|
resources:
|
||
|
|
requests:
|
||
|
|
cpu: 50m
|
||
|
|
memory: 64Mi
|
||
|
|
limits:
|
||
|
|
cpu: 500m
|
||
|
|
memory: 256Mi
|