Skip to content

Commit

Permalink
test: verify unwatched namespaces are being ignored
Browse files Browse the repository at this point in the history
Signed-off-by: Niccolò Fei <[email protected]>
  • Loading branch information
NiccoloFei authored and litaocdl committed Nov 26, 2024
1 parent b96c38e commit 7c79714
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/tests-operator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,15 @@ jobs:
namespace: 'single-install'
cluster-name: 'cluster-example'
ready-instances: '3'

- name: Create a separate namespace
run: kubectl create ns test-ignore

- name: Deploy a cluster in 'test-ignore'
uses: ./.github/actions/deploy-cluster
with:
namespace: 'test-ignore'

- name: Verify the cluster in 'test-ignore' is being ignored
run: |
kubectl -n test-ignore get pods 2>&1 >/dev/null | grep 'No resources found'

0 comments on commit 7c79714

Please sign in to comment.