Skip to content

Commit

Permalink
Remove managed from receptor address
Browse files Browse the repository at this point in the history
ReceptorAddress no longer has managed field, so
remove it from add_receptor_address call

k8s_routable renamed to is_internal

Signed-off-by: Seth Foster <fosterbseth@gmail.com>
  • Loading branch information
fosterseth authored and CFSNM committed Jan 17, 2024
1 parent a1d0833 commit 40fa551
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions roles/mesh_ingress/tasks/creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,19 +121,19 @@
namespace: "{{ ansible_operator_meta.namespace }}"
pod: "{{ awx_task_pod_name }}"
container: "{{ deployment_name }}-task"
command: "awx-manage provision_instance --hostname {{ ansible_operator_meta.name }} --node_type hop --protocol ws"
command: "awx-manage provision_instance --hostname {{ ansible_operator_meta.name }} --node_type hop"
register: result

- name: Add internal receptor address
kubernetes.core.k8s_exec:
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 {{ ansible_operator_meta.name }} --port 27199 --peers_from_control_nodes --k8s_routable --canonical --managed"
command: "awx-manage add_receptor_address --instance {{ ansible_operator_meta.name }} --address {{ ansible_operator_meta.name }} --port 27199 --protocol ws --peers_from_control_nodes --is_internal --canonical"

Check failure on line 132 in roles/mesh_ingress/tasks/creation.yml

View workflow job for this annotation

GitHub Actions / molecule (--skip-tags=replicas)

132:171 [line-length] line too long (213 > 170 characters)

Check failure on line 132 in roles/mesh_ingress/tasks/creation.yml

View workflow job for this annotation

GitHub Actions / molecule (-t replicas)

132:171 [line-length] line too long (213 > 170 characters)

Check failure on line 132 in roles/mesh_ingress/tasks/creation.yml

View workflow job for this annotation

GitHub Actions / molecule (--skip-tags=replicas)

132:171 [line-length] line too long (213 > 170 characters)

Check failure on line 132 in roles/mesh_ingress/tasks/creation.yml

View workflow job for this annotation

GitHub Actions / molecule (-t replicas)

132:171 [line-length] line too long (213 > 170 characters)

- name: Add external receptor address
kubernetes.core.k8s_exec:
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 --managed"
command: "awx-manage add_receptor_address --instance {{ ansible_operator_meta.name }} --address {{ external_hostname }} --port 443"

0 comments on commit 40fa551

Please sign in to comment.