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

test(istio): Update getKialiWorkloadHealth to adapt to different istio versions #6183

Merged
merged 6 commits into from
Jun 12, 2024

Conversation

randmonkey
Copy link
Contributor

@randmonkey randmonkey commented Jun 11, 2024

What this PR does / why we need it:

Istio 1.22 removed Kiali API /namespaces/<ns>/health and uses /namespace/<ns>/workloads/<workload> instead. While Istio 1.17 does not support the newer API. So the PR uses different APIs for different istio versions.

Also, this PR adds istio 1.22.1 into tests.

Which issue this PR fixes:

fixes #6039

Special notes for your reviewer:

Istio 1.17 (and 1.18,1.19) are already end of support: https://istio.io/latest/docs/releases/supported-releases/. Should we just remove these versions in our istio tests? The official support of Istio only includes the latest 3 nimor versions.

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

  • the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

@randmonkey randmonkey requested a review from a team as a code owner June 11, 2024 09:01
@team-k8s-bot
Copy link
Collaborator

E2E (targeted) tests with KIND-based clusters were started at https://github.com/Kong/kubernetes-ingress-controller/actions/runs/9462665513

Copy link

codecov bot commented Jun 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@28567d7). Learn more about missing BASE report.
Report is 22 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff           @@
##             main   #6183   +/-   ##
======================================
  Coverage        ?   73.7%           
======================================
  Files           ?     198           
  Lines           ?   19798           
  Branches        ?       0           
======================================
  Hits            ?   14604           
  Misses          ?    4205           
  Partials        ?     989           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

programmer04
programmer04 previously approved these changes Jun 11, 2024
test/e2e/istio_test.go Outdated Show resolved Hide resolved
.github/test_dependencies.yaml Outdated Show resolved Hide resolved
test/e2e/istio_test.go Outdated Show resolved Hide resolved
test/e2e/istio_test.go Outdated Show resolved Hide resolved
test/e2e/istio_test.go Outdated Show resolved Hide resolved
test/e2e/istio_test.go Outdated Show resolved Hide resolved
@team-k8s-bot
Copy link
Collaborator

E2E (targeted) tests with KIND-based clusters were started at https://github.com/Kong/kubernetes-ingress-controller/actions/runs/9463818620

Copy link
Member

@programmer04 programmer04 left a comment

Choose a reason for hiding this comment

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

WDYT?

test/e2e/istio_test.go Outdated Show resolved Hide resolved
test/e2e/istio_test.go Outdated Show resolved Hide resolved
test/e2e/istio_test.go Outdated Show resolved Hide resolved
@randmonkey randmonkey merged commit d4fdf13 into main Jun 12, 2024
40 checks passed
@randmonkey randmonkey deleted the test/fix_istio_kiali_health branch June 12, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Istio e2e test cases fails when istio bumped to 1.22.0
4 participants