Skip to content

Commit

Permalink
Set correct protocol for external mesh ingress address
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealHaoLiu committed Jan 17, 2024
1 parent 40fa551 commit db0dd44
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions roles/mesh_ingress/tasks/creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
set_fact:
_custom_control_plane_ee_image: "{{ awx_spec.control_plane_ee_image }}"
when:
- awx_spec.control_plane_ee_image | default([]) | length
- awx_spec.control_plane_ee_image | default([]) | length

- name: Set Control Plane EE image URL
set_fact:
Expand Down Expand Up @@ -97,11 +97,11 @@
kind: Pod
namespace: '{{ ansible_operator_meta.namespace }}'
label_selectors:
- "app.kubernetes.io/name={{ deployment_name }}-task"
- "app.kubernetes.io/managed-by={{ deployment_type }}-operator"
- "app.kubernetes.io/component={{ deployment_type }}"
- "app.kubernetes.io/name={{ deployment_name }}-task"
- "app.kubernetes.io/managed-by={{ deployment_type }}-operator"
- "app.kubernetes.io/component={{ deployment_type }}"
field_selectors:
- status.phase=Running
- status.phase=Running
register: awx_task_pod

- name: Set the resource pod as a variable.
Expand Down Expand Up @@ -136,4 +136,4 @@
namespace: "{{ ansible_operator_meta.namespace }}"
pod: "{{ awx_task_pod_name }}"
container: "{{ deployment_name }}-task"
command: "awx-manage add_receptor_address --instance {{ ansible_operator_meta.name }} --address {{ external_hostname }} --port 443"
command: "awx-manage add_receptor_address --instance {{ ansible_operator_meta.name }} --address {{ external_hostname }} --port 443 --protocol ws"

0 comments on commit db0dd44

Please sign in to comment.