[Enhancement] Edit CoreDNS ConfigMap on disk for more reliability #814
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Goal
NodeHosts
section of the CoreDNS configmaphost.k3d.internal
-> docker host referenceCurrent Way
kubectl patch configmap ...
New Way
coredns.yaml
to be written to diskcoredns.yaml
from disk, modify the configmap included to add our entries toNodeHosts
Future
This is still hacky, so we're hoping for an alternative solution soon, e.g. similar to this: https://github.com/k3s-io/k3s/pull/743/files
References
fixes #786
potentially fixes #805