From 1f60346da61383f18b7277037439711aef38a0fe Mon Sep 17 00:00:00 2001 From: Ritu Sood Date: Tue, 23 Feb 2021 20:18:26 -0800 Subject: Migrate to use Helm v3 libraries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Konrad Bańka Change-Id: I091b75d69841dde56ad2c294cca2d5a0291ffa8f --- .../mock_charts/mockv3/templates/tests/test.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/k8splugin/mock_files/mock_charts/mockv3/templates/tests/test.yaml (limited to 'src/k8splugin/mock_files/mock_charts/mockv3/templates/tests/test.yaml') 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" -- cgit 1.2.3-korg