Files
k8s/00-infrastructure/01-tofu/talos/machine-config/control_plane.yaml.tftpl

39 lines
797 B
Plaintext

# https://www.talos.dev/v1.10/reference/configuration/v1alpha1/config/
machine:
network:
interfaces:
- deviceSelector:
hardwareAddr: ${mac_address}
dhcp: true
%{ if vip != null }
vip:
ip: ${vip}
%{ endif }
cluster:
allowSchedulingOnControlPlanes: true
%{if api_server != ""}
apiServer:
${indent(4, api_server)}
%{endif}
controllerManager:
extraArgs:
bind-address: 0.0.0.0
etcd:
extraArgs:
listen-metrics-urls: http://0.0.0.0:2381
scheduler:
extraArgs:
bind-address: 0.0.0.0
network:
cni:
name: none
proxy:
disabled: true
discovery:
enabled: true
registries:
service:
disabled: false
extraManifests: ${extra_manifests}
inlineManifests: ${inline_manifests}