add dnsConfig value support #329
Reference in New Issue
Block a user
No description provided.
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description of the change
Add support for a new value:
dnsConfig
, to be passed to the statefulset pod template configuration.Default is
{}
, and does not change anything from current default pod configuration.Benefits
Ability to fix some issues encountered with Alpine-based docker images, which may break DNS resolving on some clusters.
In particular, this allows to lower the
ndots
value, which fixes DNS resolving of FQDNs.Also, with this setting, one can set other parameters to finely tune DNS configuration for Gitea pods, if needed:
https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
Possible drawbacks
None.
Additional information
Some relevant links about the issue this setting allows to fix:
https://stackoverflow.com/questions/65181012/does-alpine-have-known-dns-issue-within-kubernetes
https://gitlab.alpinelinux.org/alpine/aports/-/issues/9017
Checklist
values.yaml
and added to theREADME.md
using readme-generator-for-helmLGTM. Thanks for your contribution.
Thanks !?
(Ignore for the re-review request, I misclicked)
Still awesome. :)
merged, thank you for your contribution :)