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

Add conftest mediatypes to default Quay configuration

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • quay-v3.9.0
    • None
    • quay
    • False
    • None
    • False

      Quay only permits certain media-types to be pushed/pulled.  We should add the following media-types to the default config to allow conftest policies to be stored in Quay.

       

      config type
      application/vnd.unknown.config.v1+json
      
      layer types
      application/vnd.cncf.openpolicyagent.policy.layer.v1+rego
      application/vnd.cncf.openpolicyagent.data.layer.v1+json

      Acceptance Criteria

      Conftest policies are able to pushed and pulled from Quay/

       

      How to test

      For example clone this repository and run the following command:

       

      conftest push localhost:8080/org/policy1 -p policy1/ 

      and then pull with:

      conftest pull localhost:8080/org/policy1 

       

              marckok Marcus Kok
              bcaton@redhat.com Brandon Caton
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: