Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-618

Clair config indentation for a notifier

    XMLWordPrintable

Details

    • 0

    Description

      egarding Clair notifier, for me it’s still not clear what’s the correct configuration, as documentation is a bit unclear.
      This mentions that the notifier should be indented directly under Clair, like below:

      clair:

      updater:
      interval: 6h
      notifier: # indented directly under clair
      attempts: 1
      https://access.redhat.com/documentation/en-us/red_hat_quay/3/html-single/deploy_red_hat_quay_on_openshift/index#clair_image_scanning

      Anyway, setting the config like this, it will generate the error mentioned in the previous email:
      >
      > "

      {"Event":"could not send notification via notifier","Level":"error","Location":"notifier.go:173","Time":"2019-09-12 09:58:47.664383","error":"got status 403, expected 200/201","notification name":"1434bb15-de62-4b95-82d5-3068d9c2f8fb","sender name":"webhook”}

      However, checking the documentation of an older version of Clair-jwt - 2.9, the config is different (notifier indented under updater). Similar is the config-map created by the new Quay-Operator which uses the latest Clair-Jwt version

      clair:

      updater:
      interval: 6h
      notifier: # indented under clair.updater
      attempts: 1

      With this config, I don’t see the error message mentioned above anymore, but I am also not sure if the notifier works.

      Attachments

        Activity

          People

            cnegus@redhat.com Chris Negus (Inactive)
            icherapa@redhat.com Ivan C (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: