Chapter 1. Advanced Red Hat Quay configuration
You can configure your Red Hat Quay after initial deployment using one of the following methods:
-
Editing the
config.yaml
file. Theconfig.yaml
file contains most configuration information for the Red Hat Quay cluster. Editing theconfig.yaml
file directly is the primary method for advanced tuning and enabling specific features. - Using the Red Hat Quay API. Some Red Hat Quay features can be configured through the API.
This content in this section describes how to use each of the aforementioned interfaces and how to configure your deployment with advanced features.
1.1. Using the API to modify Red Hat Quay
See the Red Hat Quay API Guide for information on how to access Red Hat Quay API.
1.2. Editing the config.yaml file to modify Red Hat Quay
Advanced features can be implemented by editing the config.yaml
file directly. All configuration fields for Red Hat Quay features and settings are available in the Red Hat Quay configuration guide.
The following example is one setting that you can change directly in the config.yaml
file. Use this example as a reference when editing your config.yaml
file for other features and settings.
1.2.1. Adding name and company to Red Hat Quay sign-in
By setting the FEATURE_USER_METADATA
field to true
, users are prompted for their name and company when they first sign in. This is an optional field, but can provide your with extra data about your Red Hat Quay users.
Use the following procedure to add a name and a company to the Red Hat Quay sign-in page.
Procedure
-
Add, or set, the
FEATURE_USER_METADATA
configuration field totrue
in yourconfig.yaml
file. For example:
# ... FEATURE_USER_METADATA: true # ...
- Redeploy Red Hat Quay.
Now, when prompted to log in, users are requested to enter the following information: