[DO-1600] Co-authored-by: denis.patrakeev <denis.patrakeev@avroid.tech> Reviewed-on: https://git.avroid.tech/K8s/k8s-configs/pulls/77
47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
replicaCount: 1
|
|
|
|
image:
|
|
registry: harbor.avroid.tech/quay-proxy
|
|
repository: prometheuscommunity/postgres-exporter
|
|
|
|
automountServiceAccountToken: true
|
|
|
|
resources:
|
|
limits:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
requests:
|
|
cpu: 300m
|
|
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
|
|
|
|
config:
|
|
# define an existing secret to be mounted as the config file
|
|
# needs to have the key 'postgres_exporter.yml'
|
|
existingSecret:
|
|
enabled: true
|
|
name: "postgres-exporter-secret"
|
|
|
|
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"
|