1# Default values for prometheus-pgbouncer-exporter.
5 repository: cgr.dev/scratch-images/test-tmp/prometheus-pgbouncer-exporter
6 # if not set appVersion field from Chart.yaml is used
7 tag: 0.12.1-r6@sha256:f1b7dac9720fbeecf4e4b2cbfe51d1261f01dd11345e03755c7bd476ec047dbf
8 pullPolicy: IfNotPresent
9 ## Optionally specify an array of imagePullSecrets.
10 ## Secrets must be manually created in the namespace.
11 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
14 # - myRegistrKeySecretName
23 # When set true then use a ServiceMonitor to configure scraping
25 # Set the namespace the ServiceMonitor should be deployed
26 # namespace: monitoring
27 # Set how frequently Prometheus should scrape
29 # Set path to cloudwatch-exporter telemtery-path
30 # telemetryPath: /metrics
31 # Set labels for the ServiceMonitor, use this to define your scrape label for Prometheus Operator
33 # Set timeout for scrape
35 # Set of labels to transfer from the Kubernetes Service onto the target
37 # MetricRelabelConfigs to apply to samples before ingestion
38 # metricRelabelings: []
39 # Set relabel_configs as per https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
46 ## These are just examples rules, please adapt them to your needs.
47 ## Make sure to constraint the rules to the current prometheus-pgbouncer-exporter service.
48 # - alert: HugeReplicationLag
49 # expr: pg_replication_lag{service="{{ template "prometheus-pgbouncer-exporter.fullname" . }}"} / 3600 > 1
54 # description: replication for {{ template "prometheus-pgbouncer-exporter.fullname" . }} PostgreSQL is lagging by {{ "{{ $value }}" }} hour(s).
55 # summary: PostgreSQL replication is lagging by {{ "{{ $value }}" }} hour(s).
57# We usually recommend not to specify default resources and to leave this as a conscious
58# choice for the user. This also increases chances charts run on environments with little
59# resources, such as Minikube. If you do want to specify resources, uncomment the following
60# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
69 # Specifies whether RBAC resources should be created
72 # Specifies whether a ServiceAccount should be created
74 # The name of the ServiceAccount to use.
75 # If not set and create is true, a name is generated using the fullname template
77 # Add annotations to the ServiceAccount, useful for EKS IAM Roles for Service Accounts or Google Workload Identity.
79# Add a default ingress to allow namespace access to service.targetPort
80# Helpful if other NetworkPolicies are configured in the namespace
82 # Specifies whether a NetworkPolicy should be created
84 # Set labels for the NetworkPolicy
86# The securityContext of the pod.
87# See https://kubernetes.io/docs/concepts/policy/security-context/ for more.
94# The securityContext of the container.
95# See https://kubernetes.io/docs/concepts/policy/security-context/ for more.
99 readOnlyRootFilesystem: true
101 allowPrivilegeEscalation: false
107# Set Host Aliases as per https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/
114 # Specify logLevel as debug, info, warn, error
116 # Specify one of both datasource or datasourceSecret
119 # Only one of password, passwordFile, passwordSecret and pgpassfile can be specified
121 # Specify passwordFile if DB password is stored in a file.
122 # For example, to use with vault-injector from Hashicorp
124 # Specify passwordSecret if DB password is stored in secret.
128 # Password key inside secret
131 database: 'pgbouncer'
135 # Specifies if datasource should be sourced from secret value in format: postgresql://login:password@hostname:port/dbname?sslmode=disable
136 # Multiple Postgres databases can be configured by comma separated postgres connection strings
139 # Connection string key inside secret
142 # possible values debug, info, warn, error, fatal
144 # possible values logfmt, json
152# Configurable health checks
154 initialDelaySeconds: 3
157 initialDelaySeconds: 5
163# - name: POD_NAMESPACE
166# fieldPath: metadata.namespace
168# Init containers, e. g. for secrets creation before the exporter
176# Additional sidecar containers, e. g. for a database proxy, such as Google's cloudsql-proxy
178# Additional volumes, e. g. for secrets used in an extraContainer
180# Uncomment for mounting custom ca-certificates
185# - key: ca-certificates.crt
186# path: ca-certificates.crt
187# secretName: ssl-certs
189# Additional volume mounts
191# Uncomment for mounting custom ca-certificates file into container
193# mountPath: /etc/ssl/certs/ca-certificates.crt
194# subPath: ca-certificates.crt