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

test: Don't pass namespace for CCNPs #16768

Merged
merged 1 commit into from Aug 2, 2021

Conversation

pchaigno
Copy link
Member

@pchaigno pchaigno commented Jul 2, 2021

Host policies are CCNPs and therefore not namespaces. To avoid the following warning, we should therefore avoid passing a namespace name to kubectl apply and kubectl delete.

warning: deleting cluster-scoped resources, not scoped to the provided namespace

@pchaigno pchaigno added area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. labels Jul 2, 2021
@pchaigno pchaigno force-pushed the fix-warn-ns-for-ccnp branch 3 times, most recently from bc006ab to b17c7ca Compare July 13, 2021 08:49
@pchaigno pchaigno marked this pull request as ready for review July 13, 2021 15:19
@pchaigno pchaigno requested a review from a team July 13, 2021 15:19
@pchaigno pchaigno requested a review from a team as a code owner July 13, 2021 15:19
@pchaigno pchaigno requested review from a team, jrfastab, nbusseneau and kkourt July 13, 2021 15:19
test/k8sT/DatapathConfiguration.go Outdated Show resolved Hide resolved
Copy link
Contributor

@kkourt kkourt left a comment

Choose a reason for hiding this comment

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

nit: I think @nbusseneau's comment makes sense. It would be good to make the intention clear.

Host policies are CCNPs and therefore not namespaces. To avoid the
following warning, we should therefore avoid passing a namespace name to
kubectl apply and kubectl delete.

    warning: deleting cluster-scoped resources, not scoped to the provided namespace

Reported-by: Joe Stringer <joe@cilium.io>
Signed-off-by: Paul Chaignon <paul@cilium.io>
@pchaigno
Copy link
Member Author

test-me-please

@pchaigno pchaigno added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jul 29, 2021
@vadorovsky vadorovsky merged commit 1a24c47 into cilium:master Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants