Skip to content

Commit ffc54ba

Browse files
authored
Merge pull request #50880 from jayeshmahajan/jm/hi-example-pods-security-sec-ga
[hi] Add example files from the ga subfolder under pods/security/seccomp
2 parents bae62df + 6381a4f commit ffc54ba

File tree

4 files changed

+71
-0
lines changed

4 files changed

+71
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
apiVersion: v1
2+
kind: Pod
3+
metadata:
4+
name: audit-pod
5+
labels:
6+
app: audit-pod
7+
spec:
8+
securityContext:
9+
seccompProfile:
10+
type: Localhost
11+
localhostProfile: profiles/audit.json
12+
containers:
13+
- name: test-container
14+
image: hashicorp/http-echo:1.0
15+
args:
16+
- "-text=just made some syscalls!"
17+
securityContext:
18+
allowPrivilegeEscalation: false
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
apiVersion: v1
2+
kind: Pod
3+
metadata:
4+
name: default-pod
5+
labels:
6+
app: default-pod
7+
spec:
8+
securityContext:
9+
seccompProfile:
10+
type: RuntimeDefault
11+
containers:
12+
- name: test-container
13+
image: hashicorp/http-echo:1.0
14+
args:
15+
- "-text=just made some more syscalls!"
16+
securityContext:
17+
allowPrivilegeEscalation: false
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
apiVersion: v1
2+
kind: Pod
3+
metadata:
4+
name: fine-pod
5+
labels:
6+
app: fine-pod
7+
spec:
8+
securityContext:
9+
seccompProfile:
10+
type: Localhost
11+
localhostProfile: profiles/fine-grained.json
12+
containers:
13+
- name: test-container
14+
image: hashicorp/http-echo:1.0
15+
args:
16+
- "-text=just made some syscalls!"
17+
securityContext:
18+
allowPrivilegeEscalation: false
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
apiVersion: v1
2+
kind: Pod
3+
metadata:
4+
name: violation-pod
5+
labels:
6+
app: violation-pod
7+
spec:
8+
securityContext:
9+
seccompProfile:
10+
type: Localhost
11+
localhostProfile: profiles/violation.json
12+
containers:
13+
- name: test-container
14+
image: hashicorp/http-echo:1.0
15+
args:
16+
- "-text=just made some syscalls!"
17+
securityContext:
18+
allowPrivilegeEscalation: false

0 commit comments

Comments
 (0)