56 lines
1.5 KiB
YAML
56 lines
1.5 KiB
YAML
replicaCount: 1
|
|
|
|
image:
|
|
registry: harbor.avroid.tech/quay-proxy
|
|
repository: prometheuscommunity/postgres-exporter
|
|
|
|
automountServiceAccountToken: true
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 200m
|
|
memory: 256Mi
|
|
|
|
serviceAccount:
|
|
# Specifies whether a ServiceAccount should be created
|
|
create: false
|
|
# The name of the ServiceAccount to use.
|
|
# If not set and create is true, a name is generated using the fullname template
|
|
name: vault
|
|
|
|
nodeSelector:
|
|
node-role.kubernetes.io/worker: ""
|
|
|
|
annotations:
|
|
vault.security.banzaicloud.io/vault-addr: "https://vault.avroid.tech"
|
|
vault.security.banzaicloud.io/vault-role: "cloud-prod"
|
|
vault.security.banzaicloud.io/vault-skip-verify: "false"
|
|
vault.security.banzaicloud.io/vault-path: "avroid-office"
|
|
|
|
# Labels and annotations to attach to the deployment resource
|
|
deployment:
|
|
annotations:
|
|
vault.security.banzaicloud.io/vault-addr: "https://vault.avroid.tech"
|
|
vault.security.banzaicloud.io/vault-role: "cloud-prod"
|
|
vault.security.banzaicloud.io/vault-skip-verify: "false"
|
|
vault.security.banzaicloud.io/vault-path: "avroid-office"
|
|
|
|
# Additional volumes, e. g. for secrets used in an extraContainer
|
|
extraVolumes:
|
|
- name: postgres-exporter-config
|
|
secret:
|
|
defaultMode: 420
|
|
items:
|
|
- key: postgres_exporter.yml
|
|
path: postgres_exporter.yml
|
|
secretName: postgres-exporter-secret
|
|
|
|
# Additional volume mounts
|
|
extraVolumeMounts:
|
|
- name: postgres-exporter-config
|
|
mountPath: /etc/postgres_exporter.yml
|
|
subPath: postgres_exporter.yml
|