Chapter 9. Enabling OCI support with the Red Hat Quay Operator

Use the following procedure to configure Open Container Initiative (OCI) support for Red Hat Quay.

Procedure

  1. Create a quay-config-bundle YAML file that includes the following information:

    apiVersion: v1
    stringData:
      config.yaml: |
        FEATURE_GENERAL_OCI_SUPPORT: true
    kind: Secret
    metadata:
      name: quay-config-bundle
      namespace: quay-enterprise
    type: Opaque
  2. Enter the following command to create a the quay-config-bundle object in the appropriate namespace, passing in the necessary properties to enable OCI support. For example:

    $ oc create -n quay-enterprise -f quay-config-bundle.yaml
  3. In your quay-registry.yaml file, reference the secret for the spec.configBundleSecret field. For example:

    apiVersion: quay.redhat.com/v1
    kind: QuayRegistry
    metadata:
      name: example-registry
      namespace: quay-enterprise
    spec:
      configBundleSecret: quay-config-bundle

Additional resources

For more information, see OCI Support and Red Hat Quay