Files
bakery-ia/infrastructure/platform/networking/dns/unbound-helm/values.yaml

105 lines
2.2 KiB
YAML
Raw Normal View History

2026-01-19 16:31:11 +01:00
# Default values for unbound DNS resolver
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
2026-01-22 07:54:56 +01:00
#
# PURPOSE: Provides DNSSEC validation for Mailu email server
# CoreDNS does NOT support DNSSEC, so Unbound fills this gap.
# Mailu's rspamd requires DNSSEC for DKIM/SPF/DMARC validation.
2026-01-19 16:31:11 +01:00
# Global settings
global:
# DNS service name for other services to reference
dnsServiceName: "unbound-dns"
namespace: "bakery-ia"
# Unbound image configuration
image:
repository: "mvance/unbound"
tag: "latest"
pullPolicy: "IfNotPresent"
# Deployment configuration
replicaCount: 1
# Resource limits and requests
2026-01-22 07:54:56 +01:00
# Unbound is very lightweight - these minimal resources are sufficient
2026-01-19 16:31:11 +01:00
resources:
requests:
2026-01-22 07:54:56 +01:00
cpu: "25m"
memory: "32Mi"
limits:
2026-01-19 16:31:11 +01:00
cpu: "100m"
memory: "128Mi"
# Security context
securityContext:
capabilities:
add: ["NET_BIND_SERVICE"]
# Service configuration
service:
type: "ClusterIP"
2026-01-21 23:16:19 +01:00
# Dynamic ClusterIP - Kubernetes will assign automatically
# clusterIP: "" # Leave empty for automatic assignment
2026-01-19 16:31:11 +01:00
ports:
dnsUdp: 53
dnsTcp: 53
# Health probes configuration
2026-01-22 10:07:05 +01:00
# NOTE: mvance/unbound image does NOT have 'nc' (netcat), use 'drill' instead
2026-01-19 16:31:11 +01:00
probes:
readiness:
enabled: true
2026-01-22 10:07:05 +01:00
initialDelaySeconds: 10
2026-01-19 16:31:11 +01:00
periodSeconds: 30
2026-01-22 10:07:05 +01:00
# Use drill (DNS lookup tool included in unbound image)
command: "drill @127.0.0.1 localhost || exit 1"
2026-01-19 16:31:11 +01:00
liveness:
enabled: true
2026-01-22 10:07:05 +01:00
initialDelaySeconds: 30
2026-01-19 16:31:11 +01:00
periodSeconds: 60
2026-01-22 10:07:05 +01:00
# Use drill (DNS lookup tool included in unbound image)
command: "drill @127.0.0.1 localhost || exit 1"
2026-01-19 16:31:11 +01:00
# Additional environment variables
env: {}
# Additional volume mounts
volumeMounts: []
# Additional volumes
volumes: []
# Node selector
nodeSelector: {}
# Tolerations
tolerations: []
# Affinity
affinity: {}
# Pod annotations
podAnnotations: {}
# Service annotations
serviceAnnotations: {}
# Custom unbound configuration
config:
enabled: false
# Additional containers (sidecars)
extraContainers: []
# Additional init containers
extraInitContainers: []
# Service account configuration
serviceAccount:
create: false
annotations: {}
name: ""
# Pod security context
podSecurityContext: {}