-
Notifications
You must be signed in to change notification settings - Fork 9
/
podman.yaml
40 lines (40 loc) · 994 Bytes
/
podman.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
# sudo podman play kube podman.yaml
# sudo podman pod rm emporous --force
apiVersion: v1
kind: Pod
metadata:
name: emporous
labels:
app: emporous
annotations:
io.kubernetes.cri-o.TTY/site: "false"
io.podman.annotations.init/site: "FALSE"
io.podman.annotations.label/site: disable
io.podman.annotations.autoremove/site: "TRUE"
io.podman.annotations.privileged/site: "FALSE"
io.podman.annotations.publish-all/site: "FALSE"
org.opencontainers.image.base.name/site: ghcr.io/emporous/site:latest
spec:
containers:
- image: ghcr.io/emporous/site:latest
name: site
ports:
- containerPort: 3000
hostPort: 3000
securityContext:
capabilitieskj:
drop:
- CAP_MKNOD
- CAP_NET_RAW
- CAP_AUDIT_WRITE
seLinuxOptions:
type: spc_t
volumeMounts:
- mountPath: /src
name: emporous.github.io
volumes:
- name: emporous.github.io
hostPath:
type: Directory
path: .