Skip to content

Commit

Permalink
Add e2e test coverage for namingStrategy
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Büringer buringerst@vmware.com
  • Loading branch information
sbueringer committed Dec 13, 2023
1 parent bf9483f commit ca0ee65
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ patches:
- target:
kind: ClusterClass
path: ./patch-prekubeadmscript.yaml
- target:
kind: ClusterClass
path: ./patch-namingstrategy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- op: add
path: /spec/controlPlane/namingStrategy
value:
template: '{{ .cluster.name }}-cp-{{ .random }}'
- op: add
path: /spec/workers/machineDeployments/0/namingStrategy
value:
template: '{{ .cluster.name }}-md-{{ .machineDeployment.topologyName }}-{{ .random }}'

0 comments on commit ca0ee65

Please sign in to comment.