Skip to content

Commit 9285a9d

Browse files
committed
charts/values: add disabled all runtime classes values
Added default values which will disable all runtime classes by default to override only expected ones. Signed-off-by: Pawel Proskurnicki <pawel.proskurnicki@intel.com>
1 parent cebc095 commit 9285a9d

File tree

4 files changed

+111
-18
lines changed

4 files changed

+111
-18
lines changed

QUICKSTART.md

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ helm install coco oci://ghcr.io/confidential-containers/charts/confidential-cont
5252

5353
#### For remote (peer-pods)
5454

55+
> [!NOTE]
56+
> Support for peer-pods requires installation using the [Cloud API Adaptor peer-pods helm charts](https://github.com/confidential-containers/cloud-api-adaptor/tree/main/src/cloud-api-adaptor/install/charts/peerpods) project.
57+
5558
```bash
5659
helm install coco oci://ghcr.io/confidential-containers/charts/confidential-containers \
5760
-f https://raw.githubusercontent.com/confidential-containers/charts/main/values/kata-remote.yaml \
@@ -63,6 +66,19 @@ helm install coco oci://ghcr.io/confidential-containers/charts/confidential-cont
6366

6467
- Remote runtime (`kata-remote`) - peer-pods / Cloud API Adaptor integration
6568

69+
#### For custom setups
70+
71+
```bash
72+
helm install coco oci://ghcr.io/confidential-containers/charts/confidential-containers \
73+
-f https://raw.githubusercontent.com/confidential-containers/charts/main/values/all-runtimeclasses-disabled.yaml \
74+
--namespace coco-system \
75+
--create-namespace
76+
```
77+
78+
**What you get:**
79+
80+
- No runtime classes installed by default.
81+
6682
### Installing from Local Repository (Development)
6783

6884
If you're developing or customizing the chart:
@@ -309,12 +325,21 @@ helm install coco oci://ghcr.io/confidential-containers/charts/confidential-cont
309325
```
310326

311327
2. Install chart using your custom values file:
312-
```bash
313-
helm install coco oci://ghcr.io/confidential-containers/charts/confidential-containers \
314-
-f my-values.yaml \
315-
--namespace coco-system \
316-
--create-namespace
317-
```
328+
1. Install with default **all runtime classes disabled** and enabled only explicitly from your values:
329+
```bash
330+
helm install coco oci://ghcr.io/confidential-containers/charts/confidential-containers \
331+
-f https://raw.githubusercontent.com/confidential-containers/charts/main/values/all-runtimeclasses-disabled.yaml \
332+
-f my-values.yaml \
333+
--namespace coco-system \
334+
--create-namespace
335+
```
336+
2. Install with **all runtimeclasses** enabled and customized using `my-values`:
337+
```bash
338+
helm install coco oci://ghcr.io/confidential-containers/charts/confidential-containers \
339+
-f my-values.yaml \
340+
--namespace coco-system \
341+
--create-namespace
342+
```
318343

319344
## Advanced Configuration
320345

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,13 @@ helm install coco oci://ghcr.io/confidential-containers/charts/confidential-cont
9696
--create-namespace
9797
```
9898

99+
> [!NOTE]
100+
> Support for peer-pods requires installation using the [Cloud API Adaptor peer-pods helm charts](https://github.com/confidential-containers/cloud-api-adaptor/tree/main/src/cloud-api-adaptor/install/charts/peerpods) project.
101+
99102
### Detailed Installation Instructions
100103

101-
For complete installation instructions, customization options, and troubleshooting, see **[QUICKSTART.md](QUICKSTART.md)
102-
**, which includes:
104+
For complete installation instructions, customization options, and troubleshooting, see [QUICKSTART.md](QUICKSTART.md),
105+
which includes:
103106

104107
- Installation from OCI registry and local chart
105108
- Common customizations (debug logging, node selectors, image pull policy, private registries, k8s distributions)
@@ -175,6 +178,9 @@ The available RuntimeClasses depend on the architecture:
175178
|---------------|-------------|
176179
| `kata-remote` | Peer-pods |
177180

181+
> [!NOTE]
182+
> Support for peer-pods requires installation using the [Cloud API Adaptor peer-pods helm charts](https://github.com/confidential-containers/cloud-api-adaptor/tree/main/src/cloud-api-adaptor/install/charts/peerpods) project.
183+
178184
### Verification
179185

180186
```bash
@@ -196,6 +202,7 @@ The chart provides architecture-specific kata runtime configuration files:
196202
- [values.yaml](./values.yaml): x86_64 defaults (SNP, TDX, and development shims)
197203
- [values/kata-s390x.yaml](./values/kata-s390x.yaml): IBM SE shim and development shims
198204
- [values/kata-remote.yaml](./values/kata-remote.yaml): Peer-pods
205+
- [values/all-runtimeclasses-disabled.yaml](./values/all-runtimeclasses-disabled.yaml): Disables all runtime classes (for custom setups)
199206

200207
### Key Configuration Parameters
201208

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
kata-as-coco-runtime:
2+
shims:
3+
clh:
4+
enabled: false
5+
6+
cloud-hypervisor:
7+
enabled: false
8+
9+
dragonball:
10+
enabled: false
11+
12+
fc:
13+
enabled: false
14+
15+
qemu:
16+
enabled: false
17+
18+
qemu-cca:
19+
enabled: false
20+
21+
qemu-coco-dev:
22+
enabled: false
23+
24+
qemu-coco-dev-runtime-rs:
25+
enabled: false
26+
27+
qemu-nvidia-gpu:
28+
enabled: false
29+
30+
qemu-nvidia-gpu-snp:
31+
enabled: false
32+
33+
qemu-nvidia-gpu-tdx:
34+
enabled: false
35+
36+
qemu-runtime-rs:
37+
enabled: false
38+
39+
qemu-se:
40+
enabled: false
41+
42+
qemu-se-runtime-rs:
43+
enabled: false
44+
45+
qemu-snp:
46+
enabled: false
47+
48+
qemu-tdx:
49+
enabled: false

values/kata-remote.yaml

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,22 @@ kata-as-coco-runtime:
1010
k8sDistribution: k8s
1111

1212
shims:
13-
qemu-snp:
13+
clh:
1414
enabled: false
1515

16-
qemu-tdx:
16+
cloud-hypervisor:
1717
enabled: false
1818

19-
qemu-se:
19+
dragonball:
2020
enabled: false
2121

22-
qemu-se-runtime-rs:
22+
fc:
23+
enabled: false
24+
25+
qemu:
26+
enabled: false
27+
28+
qemu-cca:
2329
enabled: false
2430

2531
qemu-coco-dev:
@@ -28,20 +34,26 @@ kata-as-coco-runtime:
2834
qemu-coco-dev-runtime-rs:
2935
enabled: false
3036

31-
clh:
37+
qemu-nvidia-gpu:
3238
enabled: false
3339

34-
cloud-hypervisor:
40+
qemu-nvidia-gpu-snp:
3541
enabled: false
3642

37-
dragonball:
43+
qemu-nvidia-gpu-tdx:
3844
enabled: false
3945

40-
fc:
46+
qemu-runtime-rs:
4147
enabled: false
4248

43-
qemu:
49+
qemu-se:
4450
enabled: false
4551

46-
qemu-runtime-rs:
52+
qemu-se-runtime-rs:
53+
enabled: false
54+
55+
qemu-snp:
56+
enabled: false
57+
58+
qemu-tdx:
4759
enabled: false

0 commit comments

Comments
 (0)