fc-speech-align: add dnsPolicy: None to bypass CoreDNS *.iamworkin.lan template hijack on huggingface.co

This commit is contained in:
Andrew Stoltz
2026-04-25 11:12:21 -05:00
parent d7628a6945
commit 4abc2fa95d

View File

@@ -149,6 +149,20 @@ spec:
app.kubernetes.io/name: ttsreader-align app.kubernetes.io/name: ttsreader-align
app.kubernetes.io/part-of: flowercore app.kubernetes.io/part-of: flowercore
spec: spec:
# Bypass CoreDNS's *.iamworkin.lan template hijack on public hosts
# (huggingface.co model download at first boot would otherwise resolve
# to Traefik VIP via search expansion). Drops the iamworkin.lan suffix.
dnsPolicy: None
dnsConfig:
nameservers:
- 10.43.0.10
searches:
- fc-ttsreader.svc.cluster.local
- svc.cluster.local
- cluster.local
options:
- name: ndots
value: "2"
securityContext: securityContext:
fsGroup: 1654 fsGroup: 1654
runAsNonRoot: true runAsNonRoot: true