From 0b3daeb62e35e6a728d9cface6d225d72d0b39fa Mon Sep 17 00:00:00 2001 From: portdirect Date: Fri, 19 Jan 2018 11:26:40 -0500 Subject: [PATCH] Barbican: make helm test manifest deployment controllable This PS makes the helm test pod manifest deployment controllable. Change-Id: I2e918540a8a23a2b43ff7113bae092be47ec7167 --- barbican/templates/pod-test.yaml | 2 ++ barbican/values.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/barbican/templates/pod-test.yaml b/barbican/templates/pod-test.yaml index 0715557e5d..56ec35dbd6 100644 --- a/barbican/templates/pod-test.yaml +++ b/barbican/templates/pod-test.yaml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */}} +{{- if .Values.manifests.pod_test }} {{- $envAll := . }} {{- $dependencies := .Values.dependencies.tests }} @@ -55,3 +56,4 @@ spec: name: barbican-bin defaultMode: 0555 {{ if $mounts_barbican_tests.volumes }}{{ toYaml $mounts_barbican_tests.volumes | indent 4 }}{{ end }} +{{- end }} diff --git a/barbican/values.yaml b/barbican/values.yaml index 70ae4d004b..7e5023fbd7 100644 --- a/barbican/values.yaml +++ b/barbican/values.yaml @@ -484,6 +484,7 @@ manifests: job_ks_service: true job_ks_user: true pdb_api: true + pod_test: true secret_db: true secret_keystone: true service_ingress_api: true