Skip to content

Commit

Permalink
quay-registry-setup added new option repo_mirror_server_hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
tjungbauer committed Aug 24, 2024
1 parent 0e05d8a commit a0d1c44
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/quay-registry-setup/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: quay-registry-setup
description: Deploy and configure Red Hat Quay Registry.
home: https://github.com/tjungbauer/helm-charts/tree/main/charts/quay-registry-setup
icon: https://github.com/tjungbauer/helm-charts/raw/gh-pages/images/quay-icon.png
version: 2.0.7
version: 2.0.9
dependencies:
- name: tpl
version: ~1.0.0
Expand Down Expand Up @@ -55,3 +55,5 @@ annotations:
description: Error in configuration file creation Job
- kind: fixed
description: Fixing some errors on Quay configuration rendering
- kind: added
description: Added new option repo_mirror_server_hostname to set hostname for the mirroring service
1 change: 1 addition & 0 deletions charts/quay-registry-setup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ Verify the possible sub-charts for additional settings:
| quay_configuration.registry_title_short | string | Red Hat Quay | If specified, the short-form title for the registry. Title is displayed on various pages of your organization, for example, as the title of the tutorial on your organization’s Tutorial page. |
| quay_configuration.repo_mirror_interval | int | 30 | The number of seconds between checking for repository mirror candidates |
| quay_configuration.repo_mirror_rollback | bool | false | When set to true, the repository rolls back after a failed mirror attempt. |
| quay_configuration.repo_mirror_server_hostname | string | none | Replaces the SERVER_HOSTNAME as the destination for mirroring. |
| quay_configuration.repo_mirror_tls_verify | bool | false | Require HTTPS and verify certificates of Quay registry during mirror. |
| quay_configuration.restricted_users_whitelist | list | [] | When set with FEATURE_RESTRICTED_USERS: true, specific users are excluded from the FEATURE_RESTRICTED_USERS setting. |
| quay_configuration.search_max_result_page_count | int | 10 | Maximum number of pages the user can paginate in search before they are limited |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,9 @@ data:
REPO_MIRROR_INTERVAL: {{ .repo_mirror_interval | quote | default "30" | trimAll "\"" }}
REPO_MIRROR_ROLLBACK: {{ .repo_mirror_rollback | quote | default "false" | trimAll "\"" }}
REPO_MIRROR_TLS_VERIFY: {{ .repo_mirror_tls_verify | quote | default "false" | trimAll "\"" }}
{{- if .repo_mirror_server_hostname }}
REPO_MIRROR_SERVER_HOSTNAME: {{ .repo_mirror_server_hostname | quote | default "" | trimAll "\"" }}
{{- end }}
{{- if .restricted_users_whitelist }}
RESTRICTED_USERS_WHITELIST:
{{- range .restricted_users_whitelist }}
Expand Down
5 changes: 5 additions & 0 deletions charts/quay-registry-setup/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,11 @@ quay_configuration:
# @default -- false
repo_mirror_tls_verify: false

# -- Replaces the SERVER_HOSTNAME as the destination for mirroring.
# @section -- Quay Configuration Settings
# @default -- none
repo_mirror_server_hostname: ''

# -- When set with FEATURE_RESTRICTED_USERS: true, specific users are excluded from the FEATURE_RESTRICTED_USERS setting.
# @section -- Quay Configuration Settings
# @default -- []
Expand Down

0 comments on commit a0d1c44

Please sign in to comment.