From 290dace68a54a36d515ff4e604059dd8d302b465 Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Thu, 19 Jan 2023 00:09:02 +0200 Subject: [PATCH] fix some issues --- .../common-test/ci/extra-containers-values.yaml | 16 ++-------------- .../tests/deployment/controller_test.yaml | 2 +- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/library/common-test/ci/extra-containers-values.yaml b/library/common-test/ci/extra-containers-values.yaml index edc0676d72..4f8c9dbe33 100644 --- a/library/common-test/ci/extra-containers-values.yaml +++ b/library/common-test/ci/extra-containers-values.yaml @@ -4,7 +4,7 @@ image: tag: latest someImage: - repository: traefik/whoami + repository: hello-world tag: latest pullPolicy: IfNotPresent @@ -21,7 +21,7 @@ args: additionalContainers: some-name: - imageSelector: someImage + imageSelector: image args: - --port - "8081" @@ -44,24 +44,12 @@ additionalContainers: initContainers: some-name: imageSelector: someImage - command: - - /bin/sh - - -c - - echo "Hello World" systemContainers: some-name: imageSelector: someImage - command: - - /bin/sh - - -c - - echo "Hello World" installContainers: some-name: imageSelector: someImage - command: - - /bin/sh - - -c - - echo "Hello World" probes: liveness: diff --git a/library/common-test/tests/deployment/controller_test.yaml b/library/common-test/tests/deployment/controller_test.yaml index a2147d4802..f7cfa02139 100644 --- a/library/common-test/tests/deployment/controller_test.yaml +++ b/library/common-test/tests/deployment/controller_test.yaml @@ -69,7 +69,7 @@ tests: type: not_valid_controller asserts: - failedTemplate: - errorMessage: Not a valid controller.type (not_valid_controller). Valid options are Deployment, DaemonSet, StatefulSet, Job + errorMessage: Not a valid controller.type (not_valid_controller). Valid options are Deployment, DaemonSet, StatefulSet, Job, CronJob - it: should fail with wrong strategy set: