diff --git a/library/common-test/tests/container/arg_test.yaml b/library/common-test/tests/container/arg_test.yaml index 751583d85c..5dfa004632 100644 --- a/library/common-test/tests/container/arg_test.yaml +++ b/library/common-test/tests/container/arg_test.yaml @@ -20,6 +20,13 @@ tests: enabled: true primary: true imageSelector: image + probes: &probes + liveness: + enabled: false + readiness: + enabled: false + startup: + enabled: false args: - --port - "{{ .Values.some_port }}" @@ -55,6 +62,7 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes args: --accept-eula asserts: - documentIndex: &deploymentDoc 0 @@ -88,6 +96,7 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes args: - --port - "80" diff --git a/library/common-test/tests/container/command_test.yaml b/library/common-test/tests/container/command_test.yaml index fefe609dcf..8e18db0085 100644 --- a/library/common-test/tests/container/command_test.yaml +++ b/library/common-test/tests/container/command_test.yaml @@ -19,6 +19,13 @@ tests: enabled: true primary: true imageSelector: image + probes: &probes + liveness: + enabled: false + readiness: + enabled: false + startup: + enabled: false command: - /bin/sh - -c @@ -58,6 +65,7 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes command: ./start.sh asserts: - documentIndex: &deploymentDoc 0 @@ -90,6 +98,7 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes command: - ./print.sh - "{{ .Values.image.repository }}" diff --git a/library/common-test/tests/container/image_test.yaml b/library/common-test/tests/container/image_test.yaml index 6574ff5a64..248b013751 100644 --- a/library/common-test/tests/container/image_test.yaml +++ b/library/common-test/tests/container/image_test.yaml @@ -24,10 +24,18 @@ tests: enabled: true primary: true imageSelector: "{{ .Values.imageDictToUse }}" + probes: &probes + liveness: + enabled: false + readiness: + enabled: false + startup: + enabled: false container-name2: enabled: true primary: false imageSelector: imageGPU + probes: *probes asserts: - documentIndex: &deploymentDoc 0 isKind: diff --git a/library/common-test/tests/container/name_test.yaml b/library/common-test/tests/container/name_test.yaml index b89e03c111..c4fc6d845d 100644 --- a/library/common-test/tests/container/name_test.yaml +++ b/library/common-test/tests/container/name_test.yaml @@ -19,10 +19,18 @@ tests: enabled: true primary: true imageSelector: image + probes: &probes + liveness: + enabled: false + readiness: + enabled: false + startup: + enabled: false container-name2: enabled: true primary: false imageSelector: image + probes: *probes asserts: - documentIndex: &deploymentDoc 0 isKind: diff --git a/library/common-test/tests/container/ports_test.yaml b/library/common-test/tests/container/ports_test.yaml index de85533977..350934f313 100644 --- a/library/common-test/tests/container/ports_test.yaml +++ b/library/common-test/tests/container/ports_test.yaml @@ -20,6 +20,13 @@ tests: enabled: true primary: true imageSelector: image + probes: &probes + liveness: + enabled: false + readiness: + enabled: false + startup: + enabled: false workload-name2: enabled: true primary: false @@ -30,6 +37,7 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes service: my-service1: enabled: true @@ -79,6 +87,7 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes workload-name2: enabled: true primary: false @@ -89,6 +98,7 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes service: my-service1: enabled: true @@ -155,6 +165,7 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes service: my-service1: enabled: true @@ -201,6 +212,7 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes service: my-service1: enabled: true @@ -244,6 +256,7 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes service: my-service1: enabled: true diff --git a/library/common-test/tests/container/termination_test.yaml b/library/common-test/tests/container/termination_test.yaml index 8885fea401..57a3d93238 100644 --- a/library/common-test/tests/container/termination_test.yaml +++ b/library/common-test/tests/container/termination_test.yaml @@ -21,6 +21,13 @@ tests: enabled: true primary: true imageSelector: image + probes: &probes + liveness: + enabled: false + readiness: + enabled: false + startup: + enabled: false termination: messagePath: "{{ .Values.some_path }}" messagePolicy: "{{ .Values.some_policy }}" @@ -55,6 +62,7 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes termination: messagePath: /some/path asserts: @@ -90,6 +98,7 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes termination: messagePolicy: File asserts: @@ -126,6 +135,7 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes termination: messagePolicy: SomeInvalidPolicy asserts: diff --git a/library/common-test/tests/container/tty_stdin_test.yaml b/library/common-test/tests/container/tty_stdin_test.yaml index 7bfb1fefb3..a2ab64f1ea 100644 --- a/library/common-test/tests/container/tty_stdin_test.yaml +++ b/library/common-test/tests/container/tty_stdin_test.yaml @@ -19,6 +19,13 @@ tests: enabled: true primary: true imageSelector: image + probes: &probes + liveness: + enabled: false + readiness: + enabled: false + startup: + enabled: false asserts: - documentIndex: &deploymentDoc 0 isKind: @@ -47,6 +54,7 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes tty: true stdin: true asserts: diff --git a/library/common-test/tests/container/volumeMounts_test.yaml b/library/common-test/tests/container/volumeMounts_test.yaml index 63ee7ab6f9..ba14b944e1 100644 --- a/library/common-test/tests/container/volumeMounts_test.yaml +++ b/library/common-test/tests/container/volumeMounts_test.yaml @@ -20,10 +20,18 @@ tests: enabled: true primary: true imageSelector: image + probes: &probes + liveness: + enabled: false + readiness: + enabled: false + startup: + enabled: false container-name2: enabled: true primary: false imageSelector: image + probes: *probes workload-name2: enabled: true primary: false @@ -34,10 +42,12 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes container-name2: enabled: true primary: false imageSelector: image + probes: *probes persistence: shared-vol: enabled: true @@ -100,10 +110,12 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes container-name2: enabled: true primary: false imageSelector: image + probes: *probes workload-name2: enabled: true primary: false @@ -114,10 +126,12 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes container-name2: enabled: true primary: false imageSelector: image + probes: *probes persistence: some-vol: enabled: true @@ -168,10 +182,12 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes container-name2: enabled: true primary: false imageSelector: image + probes: *probes workload-name2: enabled: true primary: false @@ -182,10 +198,12 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes container-name2: enabled: true primary: false imageSelector: image + probes: *probes persistence: some-vol: enabled: true @@ -245,10 +263,12 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes container-name2: enabled: true primary: false imageSelector: image + probes: *probes workload-name2: enabled: true primary: false @@ -259,10 +279,12 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes container-name2: enabled: true primary: false imageSelector: image + probes: *probes persistence: some-vol: enabled: true @@ -321,10 +343,12 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes container-name2: enabled: true primary: false imageSelector: image + probes: *probes workload-name2: enabled: true primary: false @@ -335,10 +359,12 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes container-name2: enabled: true primary: false imageSelector: image + probes: *probes persistence: some-vol: enabled: true @@ -406,10 +432,12 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes container-name2: enabled: true primary: false imageSelector: image + probes: *probes persistence: some-vol: enabled: true @@ -470,6 +498,7 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes persistence: cert-vol: enabled: true @@ -520,6 +549,7 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes persistence: cert-vol: enabled: true @@ -563,6 +593,7 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes workload-name2: enabled: true primary: false @@ -573,6 +604,7 @@ tests: enabled: true primary: true imageSelector: image + probes: *probes volumeClaimTemplates: vct-vol: enabled: true