ingress-nginx-helm/internal/ingress/controller/store
Hervé d6bba85351
Rework Ginkgo usage (#9522)
* Rework Ginkgo usage

Currently Ginkgo is launched multiple times with different options to
accomodate various use-cases. In particular, some specs needs to be run
sequentially because non-namespaced objects are created that conflicts
with concurent Helm deployments.
However Ginkgo is able to handle such cases natively, in particular
specs that needs to be run sequentially are supported (Serial spec).

This commit marks the specs that needs to be run sequentially as Serial
specs and runs the whole test suite from a single Ginkgo invocation. As
a result, a single JUnit report is now generated.

Signed-off-by: Hervé Werner <dud225@hotmail.com>

* Fix controller error in test

Error getting ConfigMap "$NAMESPACE/tcp-services": no object matching key "$NAMESPACE/tcp-services" in local store

Signed-off-by: Hervé Werner <dud225@hotmail.com>

* Replace "go get" invocations by "go install"

Executing "go get" changes the go.mod & go.sum files which is not the
case of "go install".

Signed-off-by: Hervé Werner <dud225@hotmail.com>

* Always clean out the Helm deployment

Signed-off-by: Hervé Werner <dud225@hotmail.com>

* Add E2E test to verify that changes to one or more configmap trigger an update

Signed-off-by: Hervé Werner <dud225@hotmail.com>

---------

Signed-off-by: Hervé Werner <dud225@hotmail.com>
2023-02-16 06:15:39 -08:00
..
backend_ssl.go Move APIs to be used by both controller and configurer (#8854) 2022-07-21 17:32:48 -07:00
configmap.go Clarify log messages in controller pkg 2018-07-02 22:59:54 +02:00
endpointslice.go fix svc long name (#9245) 2022-11-05 14:22:15 -07:00
endpointslice_test.go fix svc long name (#9245) 2022-11-05 14:22:15 -07:00
ingress.go Move APIs to be used by both controller and configurer (#8854) 2022-07-21 17:32:48 -07:00
ingress_annotation.go Move APIs to be used by both controller and configurer (#8854) 2022-07-21 17:32:48 -07:00
ingressclass.go Release v1 (#7470) 2021-08-21 13:42:00 -07:00
local_secret.go Move APIs to be used by both controller and configurer (#8854) 2022-07-21 17:32:48 -07:00
local_secret_test.go Refactoring of kubernetes informers and local caches 2018-01-18 16:14:54 -03:00
namespace.go support watch namespaces matched namespace selector (#7472) 2021-11-12 11:46:28 -08:00
objectref.go sets.String is deprecated: use generic Set instead. new ways: s1 := Set[string]{} s2 := New[string]() (#9589) 2023-02-16 06:05:48 -08:00
objectref_test.go Sync secrets (SSL certificates) on events 2018-04-13 16:14:29 +02:00
secret.go Clarify log messages in controller pkg 2018-07-02 22:59:54 +02:00
service.go Clarify log messages in controller pkg 2018-07-02 22:59:54 +02:00
store.go Rework Ginkgo usage (#9522) 2023-02-16 06:15:39 -08:00
store_test.go added option to disable sync event creation (#8528) 2023-01-09 06:37:31 -08:00