Skip to content

Commit

Permalink
Problem: can't specify CONTENT_HOST setting
Browse files Browse the repository at this point in the history
Solution: add CONTENT_HOST to the config map

re: #5138
https://pulp.plan.io/issues/5138
  • Loading branch information
dkliban committed Aug 30, 2019
1 parent 50700b0 commit 1f50551
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/crds/pulpproject_v1alpha1_pulp_cr.default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ metadata:
# username: pulp
# password: pulp
# admin_password:
# The CONTENT_HOST setting for pulp-api
# content_host:
# Configuration for the persistentVolumeClaim for /var/lib/pulp
# pulp_file_storage:
# If your K8s cluster is only 1 node, and its StorageClass /
Expand Down
3 changes: 3 additions & 0 deletions roles/pulp-api/templates/pulp-server.config-map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ data:
REDIS_HOST = 'redis'
REDIS_PORT = 6379
REDIS_PASSWORD = ''
{% if content_host is defined %}
CONTENT_HOST = '{{ content_host }}'
{% endif %}

0 comments on commit 1f50551

Please sign in to comment.