Skip to content

Commit 3816077

Browse files
committed
Add ephemeral os disk config
1 parent ceb90d2 commit 3816077

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

templates/test/dev/cluster-template-custom-builds-load.yaml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/test/dev/custom-builds-load/kustomization.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ patches:
88
- path: patches/cluster-label-storageclass.yaml
99
- path: patches/cluster-label-azuredisk.yaml
1010
- path: patches/kcp-scheduler.yaml
11+
- path: patches/ephemeral.yaml
12+
target:
13+
group: infrastructure.cluster.x-k8s.io
14+
kind: AzureMachineTemplate
15+
name: .*-md-0
16+
version: v1beta1
17+
- path: patches/ephemeral.yaml
18+
target:
19+
group: infrastructure.cluster.x-k8s.io
20+
kind: AzureMachineTemplate
21+
name: .*-control-plane
22+
version: v1beta1
1123
configMapGenerator:
1224
- files:
1325
- storageclass=../../../addons/storageclass-azure-disk.yaml
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
- op: replace
2+
path: /spec/template/spec/osDisk/diffDiskSettings
3+
value:
4+
option: Local
5+
- op: replace
6+
path: /spec/template/spec/osDisk/cachingType
7+
value: "ReadOnly"

0 commit comments

Comments
 (0)