Skip to content

Commit f07d283

Browse files
authored
Merge pull request #3375 from chrischdi/pr-remove-thumbprint-vspheremachinetemplate
🌱 flavorgen: remove thumbprint from vSphereMachineTemplate for easier rotation
2 parents 82542dc + 54b8240 commit f07d283

6 files changed

+0
-11
lines changed

packaging/flavorgen/flavors/generators.go

-2
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,6 @@ func defaultVirtualMachineCloneSpec() infrav1.VirtualMachineCloneSpec {
370370
MemoryMiB: env.DefaultMemoryMiB,
371371
Template: env.VSphereTemplateVar,
372372
Server: env.VSphereServerVar,
373-
Thumbprint: env.VSphereThumbprint,
374373
ResourcePool: env.VSphereResourcePoolVar,
375374
Datastore: env.VSphereDatastoreVar,
376375
StoragePolicyName: env.VSphereStoragePolicyVar,
@@ -433,7 +432,6 @@ func nodeIPAMVirtualMachineCloneSpec() infrav1.VirtualMachineCloneSpec {
433432
MemoryMiB: env.DefaultMemoryMiB,
434433
Template: env.VSphereTemplateVar,
435434
Server: env.VSphereServerVar,
436-
Thumbprint: env.VSphereThumbprint,
437435
ResourcePool: env.VSphereResourcePoolVar,
438436
Datastore: env.VSphereDatastoreVar,
439437
StoragePolicyName: env.VSphereStoragePolicyVar,

templates/cluster-template-external-loadbalancer.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ spec:
5959
server: '${VSPHERE_SERVER}'
6060
storagePolicyName: '${VSPHERE_STORAGE_POLICY}'
6161
template: '${VSPHERE_TEMPLATE}'
62-
thumbprint: '${VSPHERE_TLS_THUMBPRINT}'
6362
---
6463
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
6564
kind: VSphereMachineTemplate
@@ -86,7 +85,6 @@ spec:
8685
server: '${VSPHERE_SERVER}'
8786
storagePolicyName: '${VSPHERE_STORAGE_POLICY}'
8887
template: '${VSPHERE_TEMPLATE}'
89-
thumbprint: '${VSPHERE_TLS_THUMBPRINT}'
9088
---
9189
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
9290
kind: KubeadmControlPlane

templates/cluster-template-ignition.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ spec:
5959
server: '${VSPHERE_SERVER}'
6060
storagePolicyName: '${VSPHERE_STORAGE_POLICY}'
6161
template: '${VSPHERE_TEMPLATE}'
62-
thumbprint: '${VSPHERE_TLS_THUMBPRINT}'
6362
---
6463
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
6564
kind: KubeadmControlPlane

templates/cluster-template-node-ipam.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ spec:
6464
server: '${VSPHERE_SERVER}'
6565
storagePolicyName: '${VSPHERE_STORAGE_POLICY}'
6666
template: '${VSPHERE_TEMPLATE}'
67-
thumbprint: '${VSPHERE_TLS_THUMBPRINT}'
6867
---
6968
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
7069
kind: VSphereMachineTemplate
@@ -96,7 +95,6 @@ spec:
9695
server: '${VSPHERE_SERVER}'
9796
storagePolicyName: '${VSPHERE_STORAGE_POLICY}'
9897
template: '${VSPHERE_TEMPLATE}'
99-
thumbprint: '${VSPHERE_TLS_THUMBPRINT}'
10098
---
10199
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
102100
kind: KubeadmControlPlane

templates/cluster-template.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ spec:
5959
server: '${VSPHERE_SERVER}'
6060
storagePolicyName: '${VSPHERE_STORAGE_POLICY}'
6161
template: '${VSPHERE_TEMPLATE}'
62-
thumbprint: '${VSPHERE_TLS_THUMBPRINT}'
6362
---
6463
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
6564
kind: VSphereMachineTemplate
@@ -86,7 +85,6 @@ spec:
8685
server: '${VSPHERE_SERVER}'
8786
storagePolicyName: '${VSPHERE_STORAGE_POLICY}'
8887
template: '${VSPHERE_TEMPLATE}'
89-
thumbprint: '${VSPHERE_TLS_THUMBPRINT}'
9088
---
9189
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
9290
kind: KubeadmControlPlane

templates/clusterclass-template.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ spec:
285285
server: '${VSPHERE_SERVER}'
286286
storagePolicyName: '${VSPHERE_STORAGE_POLICY}'
287287
template: '${VSPHERE_TEMPLATE}'
288-
thumbprint: '${VSPHERE_TLS_THUMBPRINT}'
289288
---
290289
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
291290
kind: VSphereMachineTemplate
@@ -312,7 +311,6 @@ spec:
312311
server: '${VSPHERE_SERVER}'
313312
storagePolicyName: '${VSPHERE_STORAGE_POLICY}'
314313
template: '${VSPHERE_TEMPLATE}'
315-
thumbprint: '${VSPHERE_TLS_THUMBPRINT}'
316314
---
317315
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
318316
kind: KubeadmControlPlaneTemplate

0 commit comments

Comments
 (0)