summaryrefslogtreecommitdiffstats
path: root/src/k8splugin/mock_files
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2021-02-23 20:18:26 -0800
committerLukasz Rajewski <lukasz.rajewski@orange.com>2021-05-06 13:39:08 +0000
commit97bd8a16fda3b7d0f176aa1b04d7fba5f1f56354 (patch)
tree9e583b52767264af616c697964b0e1cf7d3ff0b2 /src/k8splugin/mock_files
parent483f3324d67fb59e8e9e53ece22d1c3b2a32f7dd (diff)
Migrate to use Helm v3 libraries
Moving to Helm v3. Updated unit tests. Reworked Healthcheck Execution to align with v3 design. Helm v3 requires newer version for K8s libraries. Moved to use version 0.19.4. Issue-ID: MULTICLOUD-1295 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I091b75d69841dde56ad2c294cca2d5a0291ffa8f (cherry picked from commit 1f60346da61383f18b7277037439711aef38a0fe)
Diffstat (limited to 'src/k8splugin/mock_files')
-rw-r--r--src/k8splugin/mock_files/mock_charts/mockv3/templates/tests/test.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/k8splugin/mock_files/mock_charts/mockv3/templates/tests/test.yaml b/src/k8splugin/mock_files/mock_charts/mockv3/templates/tests/test.yaml
new file mode 100644
index 00000000..8a9d0b49
--- /dev/null
+++ b/src/k8splugin/mock_files/mock_charts/mockv3/templates/tests/test.yaml
@@ -0,0 +1,15 @@
+apiVersion: v1
+kind: Pod
+metadata:
+ name: "{{ .Release.Name }}-dummy-test"
+ annotations:
+ "helm.sh/hook": test
+spec:
+ restartPolicy: Never
+ containers:
+ - name: "{{ .Release.Name }}-dummy-test"
+ image: busybox
+ command:
+ - /bin/sh
+ - -exc
+ - "true"