From 4b42f3f57fd38d3dcb96b3388ef32034ff164767 Mon Sep 17 00:00:00 2001 From: "Kiran Kumar Surapathi (ks342f)" Date: Tue, 9 Mar 2021 15:18:12 -0500 Subject: [PATCH] Fix Helm tests for the Ceph provisioners We are adding the node selectors to helm tests for Ceph provisioners Change-Id: I0fc9a78dcd27a92486dc724ce9294da96826eac9 --- ceph-provisioners/Chart.yaml | 2 +- ceph-provisioners/templates/bin/_helm-tests.sh.tpl | 2 ++ releasenotes/notes/ceph-provisioners.yaml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ceph-provisioners/Chart.yaml b/ceph-provisioners/Chart.yaml index b714ea5b89..be6716506a 100644 --- a/ceph-provisioners/Chart.yaml +++ b/ceph-provisioners/Chart.yaml @@ -15,6 +15,6 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Ceph Provisioner name: ceph-provisioners -version: 0.1.4 +version: 0.1.5 home: https://github.com/ceph/ceph ... diff --git a/ceph-provisioners/templates/bin/_helm-tests.sh.tpl b/ceph-provisioners/templates/bin/_helm-tests.sh.tpl index 0c8c2be574..b22916d5e9 100644 --- a/ceph-provisioners/templates/bin/_helm-tests.sh.tpl +++ b/ceph-provisioners/templates/bin/_helm-tests.sh.tpl @@ -130,6 +130,8 @@ apiVersion: v1 metadata: name: $pod_name spec: + nodeSelector: + {{ .Values.labels.test.node_selector_key }}: {{ .Values.labels.test.node_selector_value }} containers: - name: task-pv-storage image: {{ .Values.images.tags.ceph_config_helper }} diff --git a/releasenotes/notes/ceph-provisioners.yaml b/releasenotes/notes/ceph-provisioners.yaml index 30f9762cb1..6fa2ec4b71 100644 --- a/releasenotes/notes/ceph-provisioners.yaml +++ b/releasenotes/notes/ceph-provisioners.yaml @@ -5,4 +5,5 @@ ceph-provisioners: - 0.1.2 Validate each storageclass created - 0.1.3 Uplift from Nautilus to Octopus release - 0.1.4 Add Ceph CSI plugin + - 0.1.5 Fix Helm tests for the Ceph provisioners ...