Skip to content
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

fix: (IAC-1072) Add AKS pod cidr to LOADBALANCER_SOURCE_RANGES #496

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

riragh
Copy link
Member

@riragh riragh commented Oct 11, 2023

Changes

To enable the North-South traffic again in Azure, a task was added to include aks_pod_cidr in LOADBALANCER_SOURCE_RANGES.
For more details on this change see description of Azure PR #341.

Tests:

Verified following scenarios, for details see internal ticket:

Scenario Description Order Cadence Verification
1 OOTB, Defaults Fast 2020 aks_pod_cidr is read from tfstate file and added to LOADBALANCER_SOURCE_RANGES. Viya4 deployment stabilized, applications were accessible and the example proc http to query an endpoint was successful
2 aks_pod_cidr was added to LOADBALANCER_SOURCE_RANGES in ansible-vars Fast 2020 aks_pod_cidr was not read from tfstate file. LOADBALANCER_SOURCE_RANGES were set correctly. Viya4 deployment stabilized, applications were accessible and the example proc http to query an endpoint was successful

@riragh riragh added the bug Something isn't working label Oct 11, 2023
@riragh riragh self-assigned this Oct 11, 2023
@@ -62,6 +62,16 @@
- tfstate.gke_pod_subnet_cidr is defined
- tfstate.gke_pod_subnet_cidr.value|length > 0
- (tfstate.gke_pod_subnet_cidr.value) not in LOADBALANCER_SOURCE_RANGES
- name: tfstate - Add AKS pod cidr to LOADBALANCER_SOURCE_RANGES # noqa: name[casing]
set_fact:
LOADBALANCER_SOURCE_RANGES: "{{ LOADBALANCER_SOURCE_RANGES + [tfstate.aks_pod_cidr.value] }}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now we have a section for GKE and AWS. This again should be cluster_pod_subnet_cidr in the future and on line 50 above.

@riragh riragh merged commit d9628e4 into staging Oct 11, 2023
3 checks passed
@riragh riragh deleted the IAC-1072 branch October 11, 2023 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants