Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add k8s test isolation (via namespace) #429

Merged
merged 5 commits into from
Jul 7, 2021
Merged

Add k8s test isolation (via namespace) #429

merged 5 commits into from
Jul 7, 2021

Conversation

jpellizzari
Copy link
Contributor

Adds test isolation for controller-runtime tests. This is based on the kustomization-controller tests: https://github.com/fluxcd/kustomize-controller/blob/main/controllers/kustomization_controller_test.go

Thanks to @stefanprodan and @stealthybox for the help ^^

Also requires a namespace for fetching applications.

Copy link
Contributor

@bigkevmcd bigkevmcd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some nice work in here...mostly minor suggestions.

api/applications/applications.proto Show resolved Hide resolved
pkg/kube/kube.go Outdated Show resolved Hide resolved
pkg/kube/kube_suite_test.go Outdated Show resolved Hide resolved
pkg/kube/kube_suite_test.go Outdated Show resolved Hide resolved
pkg/kube/kubehttp.go Outdated Show resolved Hide resolved
pkg/kube/kubehttp_test.go Outdated Show resolved Hide resolved
@jpellizzari jpellizzari force-pushed the jp-k8s-tests branch 2 times, most recently from dcacd2a to 18ea661 Compare July 7, 2021 17:08
@jpellizzari jpellizzari merged commit 8f17947 into main Jul 7, 2021
@jpellizzari jpellizzari deleted the jp-k8s-tests branch July 7, 2021 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants