Skip to content

Commit 2eed620

Browse files
Manik2708rksharma95
authored andcommitted
all ubuntu deployments
Signed-off-by: Manik2708 <[email protected]>
1 parent 133fe39 commit 2eed620

File tree

7 files changed

+22
-13
lines changed

7 files changed

+22
-13
lines changed

Diff for: .github/workflows/ci-test-ginkgo.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,10 @@ jobs:
9191
kubectl get pods -A
9292
9393
- name: make changes in multiubuntu-deployment
94-
working-directory: tests/k8s_env/ksp/multiubuntu
94+
working-directory: tests/k8s_env
9595
if: steps.filter.outputs.multiubuntu == 'true'
9696
run: |
97-
sed -i 's/imagePullPolicy: Always/imagePullPolicy: Never/g' \
98-
multiubuntu-deployment.yaml
97+
grep -rl "kubearmor/ubuntu-w-utils:latest" ./ | while read -r file; do sed -i 's/imagePullPolicy: Never/imagePullPolicy: Always/g' "$file"; done
9998
10099
- name: Run KubeArmor
101100
timeout-minutes: 7

Diff for: tests/k8s_env/configmap/manifests/ubuntu-deployment.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ spec:
2222
spec:
2323
containers:
2424
- name: ubuntu-1
25-
image: kubearmor/ubuntu-w-utils:0.1
25+
image: kubearmor/ubuntu-w-utils:latest
26+
imagePullPolicy: Always
2627
---
2728
apiVersion: v1
2829
kind: Namespace
@@ -51,7 +52,8 @@ spec:
5152
spec:
5253
containers:
5354
- name: ubuntu-1
54-
image: kubearmor/ubuntu-w-utils:0.1
55+
image: kubearmor/ubuntu-w-utils:latest
56+
imagePullPolicy: Always
5557
---
5658
apiVersion: v1
5759
kind: Namespace
@@ -82,5 +84,6 @@ spec:
8284
spec:
8385
containers:
8486
- name: ubuntu-1
85-
image: kubearmor/ubuntu-w-utils:0.1
87+
image: kubearmor/ubuntu-w-utils:latest
88+
imagePullPolicy: Always
8689

Diff for: tests/k8s_env/microservices/github/multiubuntu-deployment.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ spec:
2222
spec:
2323
containers:
2424
- name: ubuntu-1-container
25-
image: kubearmor/ubuntu-w-utils:0.1
25+
image: kubearmor/ubuntu-w-utils:latest
26+
imagePullPolicy: Always

Diff for: tests/k8s_env/multicontainer/manifests/multicontainer-deployment.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ spec:
2222
spec:
2323
containers:
2424
- name: container-1
25-
image: kubearmor/ubuntu-w-utils:0.1
25+
image: kubearmor/ubuntu-w-utils:latest
26+
imagePullPolicy: Always
2627
- name: container-2
27-
image: kubearmor/ubuntu-w-utils:0.1
28+
image: kubearmor/ubuntu-w-utils:latest
29+
imagePullPolicy: Always

Diff for: tests/k8s_env/privileged/manifests/caps-all-deploy.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ spec:
1717
spec:
1818
containers:
1919
- name: caps-container
20-
image: kubearmor/ubuntu-w-utils:0.1
20+
image: kubearmor/ubuntu-w-utils:latest
21+
imagePullPolicy: Always
2122
securityContext:
2223
capabilities:
2324
add: [ "ALL" ]

Diff for: tests/k8s_env/privileged/manifests/privileged-deploy.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ spec:
2222
spec:
2323
containers:
2424
- name: priv-container
25-
image: kubearmor/ubuntu-w-utils:0.1
25+
image: kubearmor/ubuntu-w-utils:latest
26+
imagePullPolicy: Always
2627
securityContext:
2728
privileged: true
2829
- name: unpriv-container
29-
image: kubearmor/ubuntu-w-utils:0.1
30+
image: kubearmor/ubuntu-w-utils:latest
31+
imagePullPolicy: Always

Diff for: tests/k8s_env/syscalls/manifests/ubuntu-deployment.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ spec:
2222
spec:
2323
containers:
2424
- name: ubuntu-1-container
25-
image: kubearmor/ubuntu-w-utils:0.1
25+
image: kubearmor/ubuntu-w-utils:latest
26+
imagePullPolicy: Always

0 commit comments

Comments
 (0)