Updated Kubernetes config with new db connection string config

This commit is contained in:
Simon Westcott 2017-06-01 23:51:46 +01:00
parent abd7d2e013
commit 303bc9800a

View File

@ -15,13 +15,16 @@
# The values specified here are the default values that Clair uses if no configuration file is specified or if the keys are not defined. # The values specified here are the default values that Clair uses if no configuration file is specified or if the keys are not defined.
clair: clair:
database: database:
# Database driver
type: pgsql
options:
# PostgreSQL Connection string # PostgreSQL Connection string
# http://www.postgresql.org/docs/9.4/static/libpq-connect.html # https://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-CONNSTRING
source: postgres://postgres:password@postgres:5432/postgres?sslmode=disable source: postgres://postgres:password@postgres:5432/postgres?sslmode=disable
# Number of elements kept in the cache # Number of elements kept in the cache
# Values unlikely to change (e.g. namespaces) are cached in order to save prevent needless roundtrips to the database. # Values unlikely to change (e.g. namespaces) are cached in order to save prevent needless roundtrips to the database.
cacheSize: 16384 cachesize: 16384
api: api:
# API server port # API server port
@ -37,7 +40,7 @@ clair:
# 32-bit URL-safe base64 key used to encrypt pagination tokens # 32-bit URL-safe base64 key used to encrypt pagination tokens
# If one is not provided, it will be generated. # If one is not provided, it will be generated.
# Multiple clair instances in the same cluster need the same value. # Multiple clair instances in the same cluster need the same value.
paginationKey: paginationkey:
# Optional PKI configuration # Optional PKI configuration
# If you want to easily generate client certificates and CAs, try the following projects: # If you want to easily generate client certificates and CAs, try the following projects:
@ -58,7 +61,7 @@ clair:
attempts: 3 attempts: 3
# Duration before a failed notification is retried # Duration before a failed notification is retried
renotifyInterval: 2h renotifyinterval: 2h
http: http:
# Optional endpoint that will receive notifications via POST requests # Optional endpoint that will receive notifications via POST requests
@ -72,3 +75,6 @@ clair:
cafile: cafile:
keyfile: keyfile:
certfile: certfile:
# Optional HTTP Proxy: must be a valid URL (including the scheme).
proxy: