Skip to content

Commit

Permalink
update: mc
Browse files Browse the repository at this point in the history
  • Loading branch information
codekow committed Nov 20, 2023
1 parent 7c2e95e commit 3a8eabe
Showing 1 changed file with 82 additions and 0 deletions.
82 changes: 82 additions & 0 deletions dump/machineconfiguration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
labels:
machineconfiguration.openshift.io/role: master
name: 98-custom-disk
spec:
config:
ignition:
version: 3.2.0
storage:
disks:
- device: /dev/sda
partitions:
- label: var-lib-kubelet
sizeMiB: 51200
startMiB: 26624
wipePartitionEntry: true
- label: var-lib-containers
sizeMiB: 0
startMiB: 0
wipePartitionEntry: true
wipeTable: true
filesystems:
- device: /dev/mapper/root
format: xfs
wipeFilesystem: true
- device: /dev/mapper/var-lib-kubelet
format: xfs
path: /var/lib/kubelet
wipeFilesystem: true
- device: /dev/mapper/var-lib-containers
format: xfs
path: /var/lib/containers
wipeFilesystem: true
luks:
- clevis:
tpm2: true
device: /dev/disk/by-partlabel/root
name: root
options:
- '--cipher'
- 'aes-cbc-essiv:sha256'
wipeVolume: true
- clevis:
tpm2: true
device: /dev/disk/by-partlabel/var-lib-kubelet
name: var-lib-kubelet
options:
- '--cipher'
- 'aes-cbc-essiv:sha256'
wipeVolume: true
- clevis:
tpm2: true
device: /dev/disk/by-partlabel/var-lib-containers
name: var-lib-containers
options:
- '--cipher'
- 'aes-cbc-essiv:sha256'
wipeVolume: true
systemd:
units:
- contents: |
[Unit]
Before=local-fs.target
[Mount]
Where=/var/lib/kubelet
What=/dev/mapper/var-lib-kubelet
[Install]
WantedBy=local-fs.target
enabled: true
name: var-lib-kubelet.mount
- contents: |
[Unit]
Before=local-fs.target
[Mount]
Where=/var/lib/containers
What=/dev/mapper/var-lib-containers
[Install]
WantedBy=local-fs.target
enabled: true
name: var-lib-containers.mount

0 comments on commit 3a8eabe

Please sign in to comment.