k3d-dev: Add virtualservice hosts to CoreDNS configmap for internal resolution
Motivation
Currently our clusters are unable to resolve virtualhosts internally, which is problematic running cypress tests locally. To resolve this, the virtualservice hostnames need to be added to the CoreDNS configMap under the NodeHosts section.
NOTE: This is already being done in our pipelines to make cypress tests work source
Acceptance Criteria
-
k3d-script is updated to patchthe CoreDNS configuration so that VirtualServices are resolved automatically upon script completion -
Use existing variables to gather NodeHost IP address if possible
Edited by Zach Callahan