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

Reduce the use of localhost workarounds #17

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AndrewKostka
Copy link
Contributor

@AndrewKostka AndrewKostka commented Jan 28, 2025

This patch requires adding the following to the Corefile of CoreDNS:

wbaas.localhost:53 {
  log
  errors
  template IN ANY {
    match "^(.*)wbaas\.localhost\.$"
    answer "{{.Name}} 60 IN CNAME ingress-nginx-controller.kube-system.svc.cluster.local"
  }
}

This can be done using:

kubectl --context minikube-wbaas edit --namespace kube-system configmap/coredns

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant