Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: quay
description: Red Hat Quay Registry Resources
type: application
version: 0.2.0
version: 0.2.1
appVersion: "3.9"
home: https://github.com/validatedpatterns/quay-chart
maintainers:
Expand Down
7 changes: 7 additions & 0 deletions files/s3-credentials-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ if [[ -z "${bucket_port}" ]]; then
bucket_port="443"
fi

# nginx's async resolver does not apply /etc/resolv.conf search domains, so bare
# service names like s3.openshift-storage.svc return NXDOMAIN. Ensure the stored
# hostname is a FQDN so the proxy resolver can resolve it without search expansion.
if [[ "${bucket_host}" != *.cluster.local ]]; then
bucket_host="${bucket_host}.cluster.local"
fi

if [[ "${bucket_port}" == "443" ]]; then
is_secure="true"
else
Expand Down
2 changes: 1 addition & 1 deletion templates/quay-config-bundle-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ stringData:
TESTING: false
CREATE_NAMESPACE_ON_PUSH: true
# Proxy all storage traffic through Quay instead of direct client access
FEATURE_PROXY_STORAGE: true
FEATURE_PROXY_STORAGE: {{ .Values.quay.proxyStorage.enabled }}
# Template only. quay-s3-credentials-setup replaces the placeholders
# from the bound ObjectBucketClaim.
DISTRIBUTED_STORAGE_CONFIG:
Expand Down
2 changes: 2 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ quay:
name: quay-init-config-bundle-secret
# -- Secret QuayRegistry reads after the S3 job fills credentials.
s3Name: quay-config-with-s3
proxyStorage:
enabled: true
storage:
postgres:
# -- Persistent volume size for the Quay PostgreSQL database.
Expand Down
Loading