Add testcase for kubeadm_patches

pull/11521/head
Max Gautier 2024-09-10 17:38:56 +02:00
parent c87097fc35
commit d54356e113
No known key found for this signature in database
1 changed files with 17 additions and 0 deletions

View File

@ -27,3 +27,20 @@ containerd_registries_mirrors:
skip_verify: true skip_verify: true
calico_datastore: "etcd" calico_datastore: "etcd"
# Test kubeadm patches
kubeadm_patches:
- target: kube-apiserver
patch:
metadata:
annotations:
example.com/test: "true"
labels:
example.com/prod_level: "prep"
- target: kube-controller-manager
patch:
metadata:
annotations:
example.com/test: "false"
labels:
example.com/prod_level: "prep"