From 77bf35d16c3a74f0184b2000af0399cc2a9c8497 Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Fri, 8 Dec 2023 11:11:32 +0200 Subject: [PATCH] disable integrations on unrelated tests --- library/common-test/tests/ingress/homepage_test.yaml | 4 ++++ library/common-test/tests/ingress/name_test.yaml | 5 +++++ library/common-test/tests/ingress/validation_test.yaml | 5 +++++ 3 files changed, 14 insertions(+) diff --git a/library/common-test/tests/ingress/homepage_test.yaml b/library/common-test/tests/ingress/homepage_test.yaml index 1ad45c69..2db526b8 100644 --- a/library/common-test/tests/ingress/homepage_test.yaml +++ b/library/common-test/tests/ingress/homepage_test.yaml @@ -125,6 +125,8 @@ tests: enabled: true primary: true integrations: + traefik: + enabled: false homepage: enabled: true podSelector: main @@ -142,6 +144,8 @@ tests: enabled: true primary: true integrations: + traefik: + enabled: false homepage: enabled: true widget: diff --git a/library/common-test/tests/ingress/name_test.yaml b/library/common-test/tests/ingress/name_test.yaml index 6f36ded8..833e0460 100644 --- a/library/common-test/tests/ingress/name_test.yaml +++ b/library/common-test/tests/ingress/name_test.yaml @@ -27,13 +27,18 @@ tests: - host: test-host paths: - path: /test-path + integrations: &integrations + traefik: + enabled: false my-ingress2: enabled: true hosts: *hosts + integrations: *integrations my-ingress3: enabled: true expandObjectName: false hosts: *hosts + integrations: *integrations asserts: - documentIndex: &ingressDoc 1 isKind: diff --git a/library/common-test/tests/ingress/validation_test.yaml b/library/common-test/tests/ingress/validation_test.yaml index 23d7e3bb..192fbbff 100644 --- a/library/common-test/tests/ingress/validation_test.yaml +++ b/library/common-test/tests/ingress/validation_test.yaml @@ -39,6 +39,9 @@ tests: - host: test-host paths: - path: /test-path + integrations: &integrations + traefik: + enabled: false my-ingress-super-long-name-that-is-longer-than-253-characters-my-ingress-super-long-name-that-is-longer-than-253-characters-my-ingress-super-long-name-that-is-longer-than-253-characters-my-ingress-super-long-long-long-long-long-long-long-long-name: enabled: true asserts: @@ -70,6 +73,7 @@ tests: primary: true hosts: *hosts namespace: my-extra-super-duper-long-name-that-is-longer-than-63-characters + integrations: *integrations asserts: - failedTemplate: errorMessage: Ingress - Namespace [my-extra-super-duper-long-name-that-is-longer-than-63-characters] is not valid. Must start and end with an alphanumeric lowercase character. It can contain '-'. And must be at most 63 characters. @@ -96,6 +100,7 @@ tests: primary: true hosts: *hosts namespace: my-namespace + integrations: *integrations asserts: - failedTemplate: errorMessage: Ingress - Namespace [my-namespace] expected to have [ix-] prefix when installed in TrueNAS SCALE