Fix indentation;Add partition/filesystem/mount specification;Fix disk unit number
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2023-03-20 12:40:39 +01:00
parent 2de2259c76
commit b644dc1a04
2 changed files with 15 additions and 3 deletions

View File

@ -43,7 +43,7 @@
- size: 1Gb
scsi_controller: 1
scsi_type: paravirtual
unit_number: 1
unit_number: 0
when: ova_deploy.results[index] is not skipped
loop: "{{ ova_deploy.results }}"
loop_control:

View File

@ -25,6 +25,18 @@ patchesStrategicMerge:
spec:
clusterConfiguration:
imageRepository: registry.{{ _template.network.fqdn }}/kubeadm
diskSetup:
filesystems:
- device: /dev/sdb1
filesystem: ext4
label: blockstorage
partitions:
- device: /dev/sdb
layout: true
tableType: gpt
mounts:
- - LABEL=blockstorage
- /mnt/blockstorage
- |-
apiVersion: bootstrap.cluster.x-k8s.io/v1beta1
kind: KubeadmConfigTemplate
@ -71,9 +83,9 @@ patchesStrategicMerge:
spec:
template:
spec:
additionalDisksGiB:
- {{ _template.additionaldisk }}
network:
additionalDisksGiB:
- {{ _template.additionaldisk }}
devices:
- dhcp4: false
addressesFromPools: