disable integrations on unrelated tests

This commit is contained in:
Stavros kois
2023-12-08 11:11:32 +02:00
parent c894e6b144
commit 77bf35d16c
3 changed files with 14 additions and 0 deletions

View File

@@ -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:

View File

@@ -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:

View File

@@ -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