Kong / kubernetes-ingress-controller

:gorilla: Kong for Kubernetes: The official Ingress Controller for Kubernetes.
https://docs.konghq.com/kubernetes-ingress-controller/
Apache License 2.0
2.2k stars 590 forks source link

Use Konnect SDK in Konnect integration tests #3550

Open czeslavo opened 1 year ago

czeslavo commented 1 year ago

Is there an existing issue for this?

Problem Statement

In order to unblock ourselves when developing KIC-Konnect integration, we manually generated runtime-groups and runtime-groups-config Go clients to be used in KIC tests: https://github.com/Kong/kubernetes-ingress-controller/pull/3535

In the meantime, an official Go SDK for Konnect APIs was developed: https://github.com/Kong/sdk-konnect-go. We can now use it instead of our own client.

Proposed Solution

Modify testing helpers to use the Konnect SDK instead of the internal client (1, 2).

Additional information

No response

Acceptance Criteria

czeslavo commented 1 month ago

https://github.com/Kong/sdk-konnect-go repository contains Konnect SDK that should allow the operations we need in KIC tests: