From eedf13227e9ad585d6648d5df9aba5bd75be46d0 Mon Sep 17 00:00:00 2001 From: Navin Chandra Date: Sat, 31 Aug 2024 19:21:09 +0000 Subject: [PATCH] Enable host visibility in `ci-test-ubi.yml` Signed-off-by: Navin Chandra --- .github/workflows/ci-test-ginkgo.yml | 2 +- .github/workflows/ci-test-ubi-image.yml | 3 +++ tests/k8s_env/hsp/hsp_test.go | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-test-ginkgo.yml b/.github/workflows/ci-test-ginkgo.yml index 3f3b6cd53a..270b762fd4 100644 --- a/.github/workflows/ci-test-ginkgo.yml +++ b/.github/workflows/ci-test-ginkgo.yml @@ -160,7 +160,7 @@ jobs: sleep 15 - - name: Add KubeArmor host visibility + - name: Enable KubeArmor host visibility run: ./.github/workflows/host-visibility.sh - name: Get KubeArmor POD info diff --git a/.github/workflows/ci-test-ubi-image.yml b/.github/workflows/ci-test-ubi-image.yml index a1ea9594b2..f4b5b566c6 100644 --- a/.github/workflows/ci-test-ubi-image.yml +++ b/.github/workflows/ci-test-ubi-image.yml @@ -108,6 +108,9 @@ jobs: - name: Operator may take upto 10 sec to enable TLS, Sleep for 15Sec run: | sleep 15 + + - name: Enable KubeArmor host visibility + run: ./.github/workflows/host-visibility.sh - name: Test KubeArmor using Ginkgo run: | diff --git a/tests/k8s_env/hsp/hsp_test.go b/tests/k8s_env/hsp/hsp_test.go index 91a1d0b6cf..9141281049 100644 --- a/tests/k8s_env/hsp/hsp_test.go +++ b/tests/k8s_env/hsp/hsp_test.go @@ -11,7 +11,7 @@ import ( . "github.com/onsi/gomega" ) -var _ = Describe("Non-k8s HSP tests", func() { +var _ = Describe("k8s HSP tests", func() { AfterEach(func() { KarmorLogStop()