diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-08-23 10:55:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-23 10:55:17 -0400 |
commit | a56384839e769657c9f97c1fcdbea55e9ff92f1c (patch) | |
tree | 2894d6640753a19c6aab85f4a8cb159131bfd91a /roles/openshift_hosted/templates | |
parent | b107f677a3563f6db9a1ef17fe10518d321d495c (diff) | |
parent | fb0adaad2e27f80ecae7790b206b29cbebdae36a (diff) | |
download | openshift-a56384839e769657c9f97c1fcdbea55e9ff92f1c.tar.gz openshift-a56384839e769657c9f97c1fcdbea55e9ff92f1c.tar.bz2 openshift-a56384839e769657c9f97c1fcdbea55e9ff92f1c.tar.xz openshift-a56384839e769657c9f97c1fcdbea55e9ff92f1c.zip |
Merge pull request #5120 from smarterclayton/allow_gcs_registry
Allow GCS object storage to be configured
Diffstat (limited to 'roles/openshift_hosted/templates')
-rw-r--r-- | roles/openshift_hosted/templates/registry_config.j2 | 2 | ||||
-rw-r--r-- | roles/openshift_hosted/templates/registry_config_secret.j2 | 9 |
2 files changed, 1 insertions, 10 deletions
diff --git a/roles/openshift_hosted/templates/registry_config.j2 b/roles/openshift_hosted/templates/registry_config.j2 index fc9272679..61da452de 100644 --- a/roles/openshift_hosted/templates/registry_config.j2 +++ b/roles/openshift_hosted/templates/registry_config.j2 @@ -60,7 +60,7 @@ storage: gcs: bucket: {{ openshift_hosted_registry_storage_gcs_bucket }} {% if openshift_hosted_registry_storage_gcs_keyfile is defined %} - keyfile: {{ openshift_hosted_registry_storage_gcs_keyfile }} + keyfile: /etc/registry/gcs.json {% endif -%} {% if openshift_hosted_registry_storage_gcs_rootdirectory is defined %} rootdirectory: {{ openshift_hosted_registry_storage_gcs_rootdirectory }} diff --git a/roles/openshift_hosted/templates/registry_config_secret.j2 b/roles/openshift_hosted/templates/registry_config_secret.j2 deleted file mode 100644 index ca68544ec..000000000 --- a/roles/openshift_hosted/templates/registry_config_secret.j2 +++ /dev/null @@ -1,9 +0,0 @@ ---- -apiVersion: v1 -kind: Secret -metadata: - name: registry-config - annotations: - provider: {{ openshift.hosted.registry.storage.provider }} -data: - config.yml: {{ registry_config }} |