Skip to content

Commit f7d47fa

Browse files
authored
feat: make peer-pods policy Azure-specific (#16)
* feat: make peer-pods policy Azure-specific Make the peer-pods ConfigMap policy conditional on Azure platform to avoid rendering on bare metal clusters where peer-pods are not used. Changes: - Wrap templates/peer-pods-cm.yaml with {{- if eq .Values.global.clusterPlatform "Azure" }} - Bump Chart.yaml version from 0.1.0 to 0.2.0 (minor bump for new feature) hub-to-spoke-initdata-policy.yaml remains platform-independent. * fix: ensure docs are up to date Signed-off-by: Chris Butler <chris.butler@redhat.com> --------- Signed-off-by: Chris Butler <chris.butler@redhat.com>
1 parent 5912489 commit f7d47fa

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

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.1.0
9+
version: 0.2.0

README.md

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

3-
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square)
3+
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-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

templates/peer-pods-cm.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if eq .Values.global.clusterPlatform "Azure" }}
12
---
23
apiVersion: policy.open-cluster-management.io/v1
34
kind: Policy
@@ -72,3 +73,4 @@ spec:
7273
matchLabels:
7374
cloud: Azure
7475
---
76+
{{- end }}

0 commit comments

Comments
 (0)