@@ -34,13 +34,13 @@ function pull_image() {
3434}
3535
3636function dump_logs() {
37- ${KUBECTL} get pods -n rancher- compliance-system --show-labels
37+ ${KUBECTL} get pods -n compliance-operator -system --show-labels
3838 echo " RUNNER LOGS:"
39- ${KUBECTL} logs -n rancher- compliance-system -l app.kubernetes.io/instance=security-scan-runner-k3s-e2e-scan || true
39+ ${KUBECTL} logs -n compliance-operator -system -l app.kubernetes.io/instance=security-scan-runner-k3s-e2e-scan || true
4040 echo " SONOBUOY LOGS (rancher-kube-bench):"
41- ${KUBECTL} logs -n rancher- compliance-system -l component=sonobuoy -c rancher-kube-bench || true
41+ ${KUBECTL} logs -n compliance-operator -system -l component=sonobuoy -c rancher-kube-bench || true
4242 echo " SONOBUOY LOGS (sonobuoy-worker):"
43- ${KUBECTL} logs -n rancher- compliance-system -l component=sonobuoy -c sonobuoy-worker || true
43+ ${KUBECTL} logs -n compliance-operator -system -l component=sonobuoy -c sonobuoy-worker || true
4444}
4545
4646echo " Running E2E tests"
@@ -72,7 +72,7 @@ ${KUBECTL} wait --timeout=60s --for=condition=ready -n kube-system pod -l k8s-ap
7272echo " > Deploying compliance-operator"
7373${KUBECTL} apply -f ./crds
7474
75- ${HELM} install --create-namespace --namespace rancher- compliance-system \
75+ ${HELM} install --create-namespace --namespace compliance-operator -system \
7676 --set " image.operator.repository=${IMAGE%%:* } " \
7777 --set " image.operator.tag=${IMAGE#*: } " \
7878 --set " debug=true" \
@@ -82,7 +82,7 @@ echo "> Wait for compliance-operator to be ready"
8282# Can't kubectl wait before the deployment schedules the pod, so
8383# wait 10 seconds for that to happen first.
8484sleep 10
85- ${KUBECTL} wait --for=condition=ready -n rancher- compliance-system pod -l compliance.cattle.io/operator=compliance-operator --timeout=30s
85+ ${KUBECTL} wait --for=condition=ready -n compliance-operator -system pod -l compliance.cattle.io/operator=compliance-operator --timeout=30s
8686
8787echo " > Create ClusterScan"
8888${KUBECTL} apply -f tests/k3s-bench-test.yaml
0 commit comments