Skip to content

Commit

Permalink
create ns for ci testing
Browse files Browse the repository at this point in the history
Signed-off-by: Ankur Kothiwal <[email protected]>
  • Loading branch information
Ankurk99 committed Aug 18, 2023
1 parent 42c80e3 commit 4413c9f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-latest-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
--values ./KubeArmor/build/kubearmor-helm-test-values.yaml \
--set kubearmor.image.tag=${{ steps.vars.outputs.tag }} \
--set kubearmorInit.image.tag=${{ steps.vars.outputs.tag }} \
-n kubearmor;
-n kubearmor --create-namespace;
kubectl wait --for=condition=ready --timeout=5m -n kubearmor pod -l kubearmor-app
kubectl get pods -A
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-controllers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
--set kubearmorController.imagePullPolicy=Never \
--set kubearmor.imagePullPolicy=Always \
--set kubearmor.image.tag=latest \
-n kubearmor;
-n kubearmor --create-namespace;
kubectl wait --for=condition=ready --timeout=5m -n kubearmor pod -l kubearmor-app
kubectl get pods -A
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-ginkgo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
sudo podman pull docker-daemon:kubearmor/kubearmor-operator:latest
fi
fi
helm upgrade --install kubearmor-operator ./deployments/helm/KubeArmorOperator -n kubearmor
helm upgrade --install kubearmor-operator ./deployments/helm/KubeArmorOperator -n kubearmor --create-namespace
kubectl wait --for=condition=ready --timeout=5m -n kubearmor pod -l kubearmor-app=kubearmor-operator
kubectl get pods -A
kubectl apply -f pkg/KubeArmorOperator/config/samples/kubearmor-test.yaml
Expand Down
4 changes: 2 additions & 2 deletions deployments/helm/KubeArmor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ Install KubeArmor using Helm chart repo. Also see [values](#Values) for your res
```
helm repo add kubearmor https://kubearmor.github.io/charts
helm repo update kubearmor
helm upgrade --install kubearmor kubearmor/kubearmor -n kubearmor
helm upgrade --install kubearmor kubearmor/kubearmor -n kubearmor --create-namespace
```

Install KubeArmor using Helm charts locally (for testing)
```
cd deployments/helm/KubeArmor
helm upgrade --install kubearmor . -n kubearmor
helm upgrade --install kubearmor . -n kubearmor --create-namespace
```

## Values
Expand Down
4 changes: 2 additions & 2 deletions deployments/helm/KubeArmorOperator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ Install KubeArmorOperator using the official `kubearmor` Helm chart repo.Also se
```
helm repo add kubearmor https://kubearmor.github.io/charts
helm repo update kubearmor
helm upgrade --install kubearmor-operator kubearmor/kubearmor-operator -n kubearmor
helm upgrade --install kubearmor-operator kubearmor/kubearmor-operator -n kubearmor --create-namespace
```

Install KubeArmorOperator using Helm charts locally (for testing)
```
cd deployments/helm/KubeArmorOperator
helm upgrade --install kubearmor-operator . -n kubearmor
helm upgrade --install kubearmor-operator . -n kubearmor --create-namespace
```

## Values
Expand Down

0 comments on commit 4413c9f

Please sign in to comment.