I setup a wiremock inside a pod in kubernetes.
is it possible to configure the wiremock (running on the pod) with java code that run from outside the kubernetes cluster?
(or i must use the APIs..)
the reason for that is that the test for setting up the wiremock is executed from a runner in gitlab ci. (external to the kubernetes cluster)
the access to the pod will be available by setting an ingress to the pod.
the solution for that is using the WireMock class as a client and connecting to the pod. had to define ingress on kubernetes
private WireMock wiremock = new WireMock("https","<http://nuance-connector-dev.zebra-med.com|nuance-connector-dev.zebra-med.com>", 443);