# Values for a highly available Red Hat Quay registry: config bundle rendered by the chart, external S3 object # storage, PostgreSQL clusters of Quay and Clair managed by the Crunchy Postgres for Kubernetes operator (crunchy sub- # chart: two instances per cluster, synchronous replication, backups to an S3 bucket, monitoring, network policies), # Quay operator installed cluster wide, pod disruption budgets. Secret values are Argo CD Vault Plugin placeholders # (): replace the KV path by yours, or use a values file kept out of Git. Deploy it with # the three Applications of examples/argocd-ha (project, operator, app): each one switches on the matching flags of # the registry and of the crunchy sub-chart. # see values.yaml for explanation on each params context: &context scope: startx cluster: default environment: infra component: quay app: startx-quay version: "3.18.0" rhn: enabled: false route: enabled: false quay: enabled: false hooked: false name: registry pullSecretEnabled: false admin: enabled: false config: enabled: true # Hostname of the registry (the operator also creates the default route -quay-.apps...) hostname: quay.apps.ocp.example.com superUsers: - quayadmin # true while the first super user is created (README, First super user), then false userInitialize: true userCreation: false secretKey: databaseSecretKey: registryTitle: "Red Hat Quay" registryTitleShort: "Quay" defaultTagExpiration: "2w" tagExpirationOptions: - "0s" - "1d" - "1w" - "2w" - "4w" extraConfig: {} extraCaCerts: {} existingSecret: "" tls: managed: true cert: "" key: "" components: clair: true mirror: true hpa: true route: true monitoring: true overrides: quay: resources: requests: cpu: "2" memory: 8Gi limits: cpu: "4" memory: 12Gi clair: volumeSize: 50Gi mirror: {} stopped: false podDisruptionBudgets: enabled: true storage: mode: external external: driver: RadosGWStorage host: s3.example.com port: "" isSecure: true bucket: quay-registry storagePath: /datastorage/registry accessKey: secretKey: region: "" caCert: "" custom: {} database: mode: crunchy tls: # First deployment with require; switch to verify-full once the CA of the clusters is known (README, Verify the # database certificates) mode: require caCert: "" quay: cluster: quay-db host: "" port: 5432 database: "" user: "" password: "" clair: cluster: clair-db host: "" port: 5432 database: "" user: "" password: "" oidc: # false until the first super user exists, then true (README, Enable the OIDC login) enabled: false internalAuthentication: true serviceName: SSO server: https://sso.apps.ocp.example.com/realms/startx/ clientId: quay clientSecret: loginScopes: - openid - email - profile usernameClaim: preferred_username emailClaim: email groupClaim: groups teamSyncing: true nonSuperuserTeamSyncingSetup: false pkce: true caCert: "" project: enabled: false context: <<: *context project: enabled: true hooked: false type: namespace name: "quay-enterprise" display_name: "Startx QUAY" requester: startx description: Quay enterprise registry configured by STARTX # Argo CD never deletes the namespace of the registry, whatever the pruning policy of the Application additionalAnnotations: |- argocd.argoproj.io/sync-options: Prune=false # Quay operator installed cluster wide (the monitoring component requires the AllNamespaces mode) operator: enabled: false context: <<: *context subscription: enabled: true hooked: false name: "quay-operator" namespace: "openshift-operators" # Without csv the subscription follows the channel. With csv: quay-operator and version: v3.18. the chart # renders startingCSV: quay-operator.v3.18. (pin the version that took your backups) version: "v3.18.0" operator: channel: stable-3.18 name: quay-operator installPlanApproval: Manual # csv: quay-operator source: name: redhat-operators namespace: openshift-marketplace config: infra: true operatorGroup: enabled: false hooked: false name: "global-operators" namespace: "openshift-operators" operatorsec: enabled: false context: <<: *context subscription: enabled: false operatorGroup: enabled: false crunchy: enabled: true # Context of the database objects context: &dbcontext scope: startx cluster: default environment: infra component: database app: quay-postgres version: "5.8.9" loader: enabled: false list: [] # Secret values are Argo CD Vault Plugin placeholders: replace the KV path by yours, or use a values file kept out of Git s3: list: - name: quay-backup namespace: quay-postgres endpoint: s3.example.com port: "" region: us-east-1 bucket: quay-pgbackrest accessKey: secretKey: caCert: "" uriStyle: path cluster: enabled: false list: - name: quay-db enabled: true namespace: quay-postgres postgresVersion: 17 storageClassName: "" storageInstanceSize: "100Gi" username: quay database: quay password: extensions: - pg_trgm replicas: 2 synchronous: true avoidInfraNodes: true pgHbaTrust: false pgbouncer: enabled: false pgadmin: enabled: false resources: requests: cpu: "2" memory: 8Gi limits: memory: 16Gi parameters: max_connections: "2000" shared_buffers: "2GB" effective_cache_size: "6GB" backup: enabled: true type: s3 s3: quay-backup pathPrefix: "" retentionDays: 14 schedules: full: "0 1 * * 0" differential: "0 1 * * 1-6" restore: enabled: false source: "" target: "" inPlaceRestore: enabled: false target: "" monitoring: enabled: true networkPolicy: enabled: true allowedNamespaces: - quay-enterprise - name: clair-db enabled: true namespace: quay-postgres postgresVersion: 15 storageClassName: "" storageInstanceSize: "50Gi" username: clair database: clair password: extensions: - uuid-ossp replicas: 2 synchronous: true avoidInfraNodes: true pgHbaTrust: false pgbouncer: enabled: false pgadmin: enabled: false resources: requests: cpu: "1" memory: 4Gi limits: memory: 8Gi parameters: max_connections: "2000" shared_buffers: "1GB" effective_cache_size: "3GB" backup: enabled: true type: s3 s3: quay-backup pathPrefix: "" retentionDays: 14 schedules: full: "0 1 * * 0" differential: "0 1 * * 1-6" restore: enabled: false source: "" target: "" inPlaceRestore: enabled: false target: "" monitoring: enabled: true networkPolicy: enabled: true allowedNamespaces: - quay-enterprise project: enabled: false context: <<: *dbcontext project: enabled: true hooked: false type: namespace name: "quay-postgres" display_name: "Quay - PostgreSQL databases" requester: startx description: PostgreSQL databases of the Quay registry, Crunchy Postgres for Kubernetes, configured by STARTX # Argo CD never deletes the namespace of the databases, whatever the pruning policy of the Application additionalAnnotations: |- argocd.argoproj.io/sync-options: Prune=false operator: enabled: false context: <<: *dbcontext subscription: enabled: true hooked: false name: "crunchy-postgres-operator" namespace: "quay-postgres" version: "v5.8.9" operator: channel: v5 name: crunchy-postgres-operator installPlanApproval: Manual csv: postgresoperator source: name: certified-operators namespace: openshift-marketplace config: infra: true operatorGroup: enabled: true hooked: false name: "crunchy-operator" namespace: "quay-postgres" providedAPIs: "PostgresCluster.v1beta1.postgres-operator.crunchydata.com" cloudnativedb: enabled: false percona: enabled: false