Chapter 6. Appendix A: Red Hat Quay on OpenShift configuration files
The following yaml files were created to deploy Red Hat Quay on OpenShift. They are used throughout the deployment procedure in this document. We recommend you copy the files from this document into a directory, review the contents, and make any changes necessary for your deployment.
6.1. Red Hat Quay namespaces and secrets リンクのコピーリンクがクリップボードにコピーされました!
quay-enterprise-namespace.yaml
apiVersion: v1 kind: Namespace metadata: name: quay-enterprise
apiVersion: v1
kind: Namespace
metadata:
name: quay-enterprise
quay-enterprise-config-secret.yaml
apiVersion: v1 kind: Secret metadata: namespace: quay-enterprise name: quay-enterprise-config-secret
apiVersion: v1
kind: Secret
metadata:
namespace: quay-enterprise
name: quay-enterprise-config-secret
quay-enterprise-redhat-pull-secret.yaml
- 1
- Change <Add credentials> to include the credentials shown from Accessing Red Hat Quay
6.2. Red Hat Quay storage リンクのコピーリンクがクリップボードにコピーされました!
quay-storageclass.yaml
- 1
- To encrypt the volume, add this to the parameters section (optionally replacing xfs with another filesystem type):
encrypted: "true" fsType: xfs (or other fs) kmsKeyId:
encrypted: "true"
fsType: xfs (or other fs)
kmsKeyId:
6.3. Red Hat Quay database リンクのコピーリンクがクリップボードにコピーされました!
db-pvc.yaml
- 1
- The 5Gi creates 5 gigabytes of storage for use by the Postgres database.
postgres-deployment.yaml
postgres-service.yaml
6.4. Red Hat Quay authorization リンクのコピーリンクがクリップボードにコピーされました!
quay-servicetoken-role-k8s1-6.yaml
quay-servicetoken-role-binding-k8s1-6.yaml
6.5. Redis database リンクのコピーリンクがクリップボードにコピーされました!
quay-enterprise-redis.yaml
- 1
- Only one instance of the redis database is defined here. Adjust replicas based on demand.
6.6. Red Hat Quay configuration pod リンクのコピーリンクがクリップボードにコピーされました!
quay-enterprise-config.yaml
quay-enterprise-config-service-clusterip.yaml
quay-enterprise-config-route.yaml
6.7. Red Hat Quay application container リンクのコピーリンクがクリップボードにコピーされました!
quay-enterprise-service-clusterip.yaml
quay-enterprise-app-route.yaml
quay-enterprise-app-rc.yaml
- 1
- Only one instance of the quay container is defined here. Adjust replicas based on demand.
6.8. Clair image scanning リンクのコピーリンクがクリップボードにコピーされました!
postgres-clair-storage.yaml
postgres-clair-deployment.yaml
postgres-clair-service.yaml
clair-config.yaml
Modify source, endpoint, key_id, and registry settings to match your environment.
clair-service.yaml
clair-deployment.yaml
6.9. Repository mirroring リンクのコピーリンクがクリップボードにコピーされました!
quay-enterprise-mirror.yaml