gitkube icon indicating copy to clipboard operation
gitkube copied to clipboard

Improve e2e test

Open tirumaraiselvan opened this issue 6 years ago • 1 comments

Currently, the e2e test fails when the following two resources already exist:

Error from server (AlreadyExists): error when creating "STDIN": customresourcedefinitions.apiextensions.k8s.io "remotes.gitkube.sh" already exists
Error from server (AlreadyExists): error when creating "STDIN": clusterrolebindings.rbac.authorization.k8s.io "gitkube" already exists

For the CRD, we just need to ignore the error and for clusterrolebindings we can just use the test namespace name.

tirumaraiselvan avatar Mar 16 '18 09:03 tirumaraiselvan

Also see https://github.com/hasura/gitkube/issues/29

tirumaraiselvan avatar Mar 16 '18 11:03 tirumaraiselvan