-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Talos Version: TalosOS 1.11.1
Talm Version: 0.16.1
Running ´´´talm apply´´´ results in duplicated array entries in the machine config, preventing new Talos nodes from becoming ready.
The effected arrays are:
- cluster.apiServer.certSANs
- cluster.apiServer.admissionControl.[name=PodSecurity].exemptions.namespaces
Command:
talm apply -f nodes/node-cp-2.yaml --dry-run
Result:
@@ -63,6 +72,10 @@
image: registry.k8s.io/kube-apiserver:v1.34.0
certSANs:
- 10.1.1.222
+ - 10.1.1.222 # <<<<<<< even if the template contains nothing it duplicates the entries
+ - ...
disablePodSecurityPolicy: true
admissionControl:
- name: PodSecurity
@@ -78,6 +91,7 @@
exemptions:
namespaces:
- kube-system
+ - kube-system # <<<<<<<<<
runtimeClasses: []
usernames: []
kind: PodSecurityConfiguration
Workaround
Apply "full" (Chart.yaml Setting) configuration with talosctl
talm -n IP -e IP template -t templates/controlplane.yaml > nodes/mycontrolplane.yaml
talosctl apply-config -f nodes/mycontrolplane.yaml -n IP -e IP -iMetadata
Metadata
Assignees
Labels
No labels