-
Notifications
You must be signed in to change notification settings - Fork 23
Configure TLS for local Pulp #343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ede2567
to
15eec6c
Compare
* Sets kolla_docker_registry_insecure to true We currently don't configure TLS for the the local pulp registry. This adds the pulp server to the list of insecure-registries, so that we can pull images. * Remove kolla_docker_registry_insecure override in CI environment Based on comments in code review. * Use a better default for kolla_docker_registry_insecure Hoping this will prevent breakage for people already running pulp with TLS. (cherry picked from commit 78055cf)
15eec6c
to
0ab0acb
Compare
etc/kayobe/pulp.yml
Outdated
# Base URL of the local Pulp service. | ||
# Default uses the seed node's IP on the admin network. | ||
pulp_url: "http://{{ admin_oc_net_name | net_ip(groups['seed'][0]) }}:80" | ||
pulp_url: "{{ 'https' if pulp_enable_tls else 'http' }}://{{ admin_oc_net_name | net_ip(groups['seed'][0]) }}:80" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pulp_url: "{{ 'https' if pulp_enable_tls else 'http' }}://{{ admin_oc_net_name | net_ip(groups['seed'][0]) }}:80" | |
pulp_url: "{{ 'https' if pulp_enable_tls | bool else 'http' }}://{{ admin_oc_net_name | net_ip(groups['seed'][0]) }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming it switches to 443 when using TLS? If not, should it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good one, thanks. Added pulp_port
and a default setting.
Is it still a draft? |
pulp_enable_tls
.