Commit Graph

4 Commits

Author SHA1 Message Date
Matej Vasek a270f9e722
Fix pod security context (#1889)
* Revert "src: Use jobs not plain pods for auxiliary tasks (#1857)"

This reverts commit cb6f33d924.

* refactor: move code from openshift

This is needed to avoid circular package dependencies.

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fix: set pod SC only on non-OpenShift

Signed-off-by: Matej Vasek <mvasek@redhat.com>

---------

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-07-26 20:03:41 +00:00
Matej Vasek 504b40b8eb
Cluster integration tests cleanup (#1829)
* test: better cleanup

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* test: k8s dialer test improvements

* Use deployment, not pod directly.
* Use gcr.io/knative-samples/helloworld-go instead of nginx.

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* refactor: dialer ctor accepts k8s config as param

This is in general better design since ctor does not relay on global
state in form of environment variable.
This also allows to run tests in parallel against various clusters.

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* test: do run tests in a new namespace

Not all cluster users can create a new namesapce.
If we want to run test against non-admin users namespace must be ensured
by test invoker.

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* test: better deletion policy

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* test: better random resource names

Related resource have common random suffix.

Signed-off-by: Matej Vasek <mvasek@redhat.com>

---------

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-06-27 14:54:52 +00:00
Matej Vasek fd82412701
fix: increase connection timeouts (#1679)
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-04-17 01:05:53 +00:00
Zbynek Roubalik 5a4803bf95
chore: refactor repository layout (#1554)
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2023-02-15 08:46:52 +00:00