Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit 29c8ce4

Browse files
committed
k8s: add agnhost command in pod yaml
Entrypoint setting does not pass correct, add agnhost command in yaml file to make the test run. Fixes: #5619 Signed-off-by: Linda Yu <[email protected]>
1 parent 00f0cda commit 29c8ce4

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

integration/kubernetes/runtimeclass_workloads/deployment-expose-ip.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ spec:
2323
containers:
2424
- name: hello-world
2525
image: ${agnhost_image}
26+
command:
27+
- /agnhost
2628
args:
2729
- netexec
2830
ports:

integration/kubernetes/runtimeclass_workloads/pod-empty-dir-fsgroup.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ spec:
1616
containers:
1717
- name: mounttest-container
1818
image: ${agnhost_image}
19+
command:
20+
- /agnhost
1921
args:
2022
- mounttest
2123
- --fs_type=/test-volume
@@ -27,6 +29,8 @@ spec:
2729
mountPath: /test-volume
2830
- name: mounttest-container-2
2931
image: ${agnhost_image}
32+
command:
33+
- /agnhost
3034
args:
3135
- mounttest
3236
- --fs_type=/test-volume-2

integration/kubernetes/runtimeclass_workloads/pod-http-liveness.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ spec:
1515
containers:
1616
- name: liveness
1717
image: ${agnhost_image}
18+
command:
19+
- /agnhost
1820
args:
1921
- liveness
2022
livenessProbe:

integration/kubernetes/runtimeclass_workloads/pod-tcp-liveness.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ spec:
1515
containers:
1616
- name: tcp-liveness
1717
image: ${agnhost_image}
18+
command:
19+
- /agnhost
1820
args:
1921
- liveness
2022
ports:

0 commit comments

Comments
 (0)