fix: Rename expected test name due to chart name change, from ingress-nginx to open-appsec-k8s-nginx-ingress.

This commit is contained in:
Brooks Beverstock 2024-01-24 17:06:53 -05:00
parent 752a5785f0
commit 5452d68f9b
12 changed files with 12 additions and 12 deletions

View File

@ -21,7 +21,7 @@ tests:
of: ConfigMap of: ConfigMap
- equal: - equal:
path: metadata.name path: metadata.name
value: RELEASE-NAME-ingress-nginx-custom-add-headers value: RELEASE-NAME-open-appsec-k8s-nginx-ingress-custom-add-headers
- equal: - equal:
path: data.X-Another-Custom-Header path: data.X-Another-Custom-Header
value: Value value: Value

View File

@ -21,7 +21,7 @@ tests:
of: ConfigMap of: ConfigMap
- equal: - equal:
path: metadata.name path: metadata.name
value: RELEASE-NAME-ingress-nginx-custom-proxy-headers value: RELEASE-NAME-open-appsec-k8s-nginx-ingress-custom-proxy-headers
- equal: - equal:
path: data.X-Custom-Header path: data.X-Custom-Header
value: Value value: Value

View File

@ -11,4 +11,4 @@ tests:
of: ConfigMap of: ConfigMap
- equal: - equal:
path: metadata.name path: metadata.name
value: RELEASE-NAME-ingress-nginx-controller value: RELEASE-NAME-open-appsec-k8s-nginx-ingress-controller

View File

@ -13,4 +13,4 @@ tests:
of: DaemonSet of: DaemonSet
- equal: - equal:
path: metadata.name path: metadata.name
value: RELEASE-NAME-ingress-nginx-controller value: RELEASE-NAME-open-appsec-k8s-nginx-ingress-controller

View File

@ -11,7 +11,7 @@ tests:
of: Deployment of: Deployment
- equal: - equal:
path: metadata.name path: metadata.name
value: RELEASE-NAME-ingress-nginx-controller value: RELEASE-NAME-open-appsec-k8s-nginx-ingress-controller
- it: should create a Deployment with 3 replicas if `controller.replicaCount` is 3 - it: should create a Deployment with 3 replicas if `controller.replicaCount` is 3
set: set:

View File

@ -14,4 +14,4 @@ tests:
of: HorizontalPodAutoscaler of: HorizontalPodAutoscaler
- equal: - equal:
path: metadata.name path: metadata.name
value: RELEASE-NAME-ingress-nginx-controller value: RELEASE-NAME-open-appsec-k8s-nginx-ingress-controller

View File

@ -14,4 +14,4 @@ tests:
of: ScaledObject of: ScaledObject
- equal: - equal:
path: metadata.name path: metadata.name
value: RELEASE-NAME-ingress-nginx-controller value: RELEASE-NAME-open-appsec-k8s-nginx-ingress-controller

View File

@ -20,4 +20,4 @@ tests:
of: NetworkPolicy of: NetworkPolicy
- equal: - equal:
path: metadata.name path: metadata.name
value: RELEASE-NAME-ingress-nginx-controller value: RELEASE-NAME-open-appsec-k8s-nginx-ingress-controller

View File

@ -22,4 +22,4 @@ tests:
of: Service of: Service
- equal: - equal:
path: metadata.name path: metadata.name
value: RELEASE-NAME-ingress-nginx-controller-internal value: RELEASE-NAME-open-appsec-k8s-nginx-ingress-controller-internal

View File

@ -20,4 +20,4 @@ tests:
of: Service of: Service
- equal: - equal:
path: metadata.name path: metadata.name
value: RELEASE-NAME-ingress-nginx-controller-metrics value: RELEASE-NAME-open-appsec-k8s-nginx-ingress-controller-metrics

View File

@ -20,7 +20,7 @@ tests:
of: Service of: Service
- equal: - equal:
path: metadata.name path: metadata.name
value: RELEASE-NAME-ingress-nginx-controller value: RELEASE-NAME-open-appsec-k8s-nginx-ingress-controller
- it: should create a Service of type "NodePort" if `controller.service.external.enabled` is true and `controller.service.type` is "NodePort" - it: should create a Service of type "NodePort" if `controller.service.external.enabled` is true and `controller.service.type` is "NodePort"
set: set:

View File

@ -20,7 +20,7 @@ tests:
of: Service of: Service
- equal: - equal:
path: metadata.name path: metadata.name
value: RELEASE-NAME-ingress-nginx-defaultbackend value: RELEASE-NAME-open-appsec-k8s-nginx-ingress-defaultbackend
- it: should create a Service with port 80 if `defaultBackend.service.port` is 80 - it: should create a Service with port 80 if `defaultBackend.service.port` is 80
set: set: