Skip to content

Commit

Permalink
Add testcase for kubeadm_patches
Browse files Browse the repository at this point in the history
  • Loading branch information
VannTen committed Sep 12, 2024
1 parent c87097f commit d54356e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/files/packet_ubuntu24-calico-etcd-datastore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,20 @@ containerd_registries_mirrors:
skip_verify: true

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"

0 comments on commit d54356e

Please sign in to comment.