Skip to content

Commit 7630a10

Browse files
authored
feat: update peerpod-cm policy to allow adjustment of the root volume (#11)
Signed-off-by: Chris Butler <chris.butler@redhat.com>
1 parent 6aeb9dc commit 7630a10

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ keywords:
66
- confidential-computing
77
- confidential-containers
88
name: sandboxed-policies
9-
version: 0.0.3
9+
version: 0.0.4

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# sandboxed-policies
22

3-
![Version: 0.0.3](https://img.shields.io/badge/Version-0.0.3-informational?style=flat-square)
3+
![Version: 0.0.4](https://img.shields.io/badge/Version-0.0.4-informational?style=flat-square)
44

55
A Helm chart to build and push polcies to support sandboxed containers into the spoke cluster of a validated pattern.
66

@@ -23,6 +23,8 @@ A small number of imperative jobs are also part of the coco pattern which are us
2323
| global.clusterPlatform | string | `""` | |
2424
| global.coco.azure.VMFlavours | string | `"Standard_DC2as_v5,Standard_DC4as_v5,Standard_DC8as_v5,Standard_DC16as_v5"` | |
2525
| global.coco.azure.defaultVMFlavour | string | `"Standard_DC2as_v5"` | |
26+
| global.coco.azure.rootVolumeSize | string | `"20"` | |
27+
| global.coco.azure.tags | string | `"key1=value1,key2=value2"` | |
2628

2729
----------------------------------------------
2830
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)

templates/peer-pods-cm.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ spec:
3636
AZURE_NSG_ID: '/subscriptions/{{ `{{ (fromJson (fromConfigMap "openshift-cloud-controller-manager" "cloud-conf" "cloud.conf" | toLiteral)).subscriptionId }}` }}/resourceGroups/{{ `{{ (fromJson (fromConfigMap "openshift-cloud-controller-manager" "cloud-conf" "cloud.conf" | toLiteral)).resourceGroup }}` }}/providers/Microsoft.Network/networkSecurityGroups/{{ `{{ (fromJson (fromConfigMap "openshift-cloud-controller-manager" "cloud-conf" "cloud.conf" | toLiteral)).securityGroupName }}` }}'
3737
DISABLECVM: "false"
3838
PROXY_TIMEOUT: "15m"
39+
TAGS: '{{ .Values.global.coco.azure.tags }}'
40+
PEERPODS_LIMIT_PER_NODE: "10"
41+
ROOT_VOLUME_SIZE: '{{ .Values.global.coco.azure.rootVolumeSize }}'
3942
INITDATA: '{{ `{{ fromConfigMap "imperative" "initdata" "INITDATA" }}` }}'
4043

4144
---

values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ global:
44
coco:
55
azure:
66
defaultVMFlavour: "Standard_DC2as_v5"
7-
VMFlavours: "Standard_DC2as_v5,Standard_DC4as_v5,Standard_DC8as_v5,Standard_DC16as_v5"
7+
VMFlavours: "Standard_DC2as_v5,Standard_DC4as_v5,Standard_DC8as_v5,Standard_DC16as_v5"
8+
tags: "key1=value1,key2=value2"
9+
rootVolumeSize: "20"

0 commit comments

Comments
 (0)