Skip to content

Commit

Permalink
Resolve Pulp status correctly when deployed in a separate namespace
Browse files Browse the repository at this point in the history
* Update status check to use cluster local service DNS

fixes #8880

https://pulp.plan.io/issues/8880
  • Loading branch information
chambridge committed Jun 9, 2021
1 parent 7422a62 commit fe441d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/8880.bugfix
@@ -0,0 +1 @@
Resolve Pulp status correctly when deployed in a separate namespace
2 changes: 1 addition & 1 deletion roles/pulp-status/tasks/main.yml
Expand Up @@ -42,7 +42,7 @@

- name: Check that status and it returns a status 200
uri:
url: '{{ status_protocol }}://{{ meta.name }}-web-svc:{{ status_port }}/pulp/api/v3/status/'
url: '{{ status_protocol }}://{{ meta.name }}-web-svc.{{ meta.namespace }}.svc.cluster.local:{{ status_port }}/pulp/api/v3/status/'
delay: 5
retries: 10

Expand Down

0 comments on commit fe441d3

Please sign in to comment.