global:
  tld: DEFINED_IN_VALUES_FILE
  region: DEFINED_IN_VALUES_FILE
  registry: DEFINED_IN_VALUES_FILE

owner-info:
  maintainers:
    - Stefan Majewsky
    - Sandro Jäckel
    - Falk Reimann
    - Muhammad Talal Anwar
  helm-chart-url: https://github.com/sapcc/helm-charts/tree/master/openstack/clair

clair:
  image_version: 4.4.0 # see https://github.com/quay/clair/releases
  log_level: info
  update_interval: 30m
  auth:
    preshared_key: DEFINED_IN_VALUES_FILE # the key that Keppel uses to sign API tokens for itself to access Clair with

postgresql:
  log_min_duration_statement: 250
  # less than the postgresql chart's default; I want to know early when connections start getting out of hand
  max_connections: 64

  persistence:
    enabled: true
    existingClaim: clair-postgresql-250gib # see templates/postgres-pvc.yaml
  backup:
    enabled: false
  alerts:
    service: keppel

  postgresDatabase: clair

  resources: {} # TODO: enable once we have some data to go off of

pgmetrics:
  db_name: clair

global:
  tld: DEFINED_IN_VALUES_FILE
  region: DEFINED_IN_VALUES_FILE
  registry: DEFINED_IN_VALUES_FILE

owner-info:
  maintainers:
    - Stefan Majewsky
    - Sandro Jäckel
    - Falk Reimann
    - Muhammad Talal Anwar
  helm-chart-url: https://github.com/sapcc/helm-charts/tree/master/openstack/clair

clair:
  image_version: 4.3.6 # see https://github.com/quay/clair/releases
  log_level: info
  update_interval: 30m
  auth:
    preshared_key: DEFINED_IN_VALUES_FILE # the key that Keppel uses to sign API tokens for itself to access Clair with

postgresql:
  log_min_duration_statement: 250
  # less than the postgresql chart's default; I want to know early when connections start getting out of hand
  max_connections: 64

  persistence:
    enabled: true
    existingClaim: clair-postgresql-250gib # see templates/postgres-pvc.yaml
  backup:
    enabled: false
  alerts:
    service: keppel

  postgresDatabase: clair

  resources: {} # TODO: enable once we have some data to go off of

pgmetrics:
  db_name: clair

Revert "bump Clair to 4.4.0"
Revert "bump Clair to 4.4.0"

This reverts commit 161e6637733f1d59a1e373b20fc1390d349e2a76.

Clair 4.4.0 crashes on startup with our current configuration, see
<https://github.com/quay/clair/issues/1527>
