ansible-collections / kubernetes.core

The collection includes a variety of Ansible content to help automate the management of applications in Kubernetes and OpenShift clusters, as well as the provisioning and maintenance of clusters themselves.
Other
214 stars 133 forks source link

k8s_service is not fully covered by integration tests #343

Open alinabuzachis opened 2 years ago

alinabuzachis commented 2 years ago
SUMMARY

k8s_service is not fully covered by integration tests.

COMPONENT NAME

k8s_service

RikuXan commented 2 years ago

Maybe slightly off-topic, but what actually is the point of k8s_service in general?
It seems to be just a specialised and simplified version of the general k8s module, with slightly less Python requirements but also less powerful. Is this assessment correct ot are there functional differences between the two modules?

Akasurde commented 2 years ago

@RikuXan Thanks for the feedback. You are right, k8s_service is a specialized and simplified version of k8s module which manages services on K8s. There will be similarities in tests for k8s which manages services and k8s_service module.