-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchopsuey-pod.templ.yaml
91 lines (91 loc) · 2.63 KB
/
chopsuey-pod.templ.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# Save the output of this file and use kubectl create -f to import
# it into Kubernetes.
#
# Created with podman-4.3.0
apiVersion: v1
kind: Pod
metadata:
annotations:
bind-mount-options: $PWD/Caddyfile:z
io.kubernetes.cri-o.ContainerType/caddy: container
io.kubernetes.cri-o.ContainerType/cs: container
io.kubernetes.cri-o.SandboxID/caddy: 8965969013f4e0b6024f32f27150c68478288af64bee337d578eb66b9b09fe4
io.kubernetes.cri-o.SandboxID/cs: 8965969013f4e0b6024f32f27150c68478288af64bee337d578eb66b9b09fe4
io.kubernetes.cri-o.TTY/caddy: "true"
io.kubernetes.cri-o.TTY/cs: "true"
io.podman.annotations.autoremove/caddy: "FALSE"
io.podman.annotations.autoremove/cs: "FALSE"
io.podman.annotations.init/caddy: "FALSE"
io.podman.annotations.init/cs: "FALSE"
io.podman.annotations.privileged/caddy: "FALSE"
io.podman.annotations.privileged/cs: "FALSE"
io.podman.annotations.publish-all/caddy: "FALSE"
io.podman.annotations.publish-all/cs: "FALSE"
org.opencontainers.image.base.digest/cs: sha256:a345b93215c329360e095c5307e66f0c8f8bb2783ca795162c51241b
org.opencontainers.image.base.name/cs: docker.io/library/node:18-alpine
creationTimestamp: "2022-11-19T22:08:25Z"
labels:
app: chopsuey
name: chopsuey
spec:
automountServiceAccountToken: false
containers:
- image: docker.io/library/caddy:2-alpine
name: caddy
ports:
- containerPort: 8080
hostPort: 8080
resources: {}
securityContext:
capabilities:
drop:
- CAP_MKNOD
- CAP_NET_RAW
- CAP_AUDIT_WRITE
tty: true
volumeMounts:
- mountPath: /etc/caddy/Caddyfile
name: Caddyfile-host-0
- mountPath: /config
name: caddy_config-pvc
- mountPath: /data
name: caddy_data-pvc
- args:
- npm
- start
env:
- name: CS_USER
value: ${CS_USER_DEV}
- name: CS_PASSWORD
value: ${CS_PASSWORD_DEV}
- name: CS_BOOKING_EDIT_URL
value: ${CS_BOOKING_EDIT_URL_DEV}
- name: AIRTABLE_API_KEY
value: ${AIRTABLE_API_KEY_DEV}
- name: AIRTABLE_BASE_ID
value: ${AIRTABLE_BASE_ID_DEV}
image: localhost/chopsuey:latest
name: cs
resources: {}
securityContext:
capabilities:
drop:
- CAP_MKNOD
- CAP_NET_RAW
- CAP_AUDIT_WRITE
tty: true
enableServiceLinks: false
hostname: chopsuey
restartPolicy: Never
volumes:
- name: caddy_config-pvc
persistentVolumeClaim:
claimName: caddy_config
- name: caddy_data-pvc
persistentVolumeClaim:
claimName: caddy_data
- hostPath:
path: $PWD/Caddyfile
type: File
name: Caddyfile-host-0
status: {}