-
Notifications
You must be signed in to change notification settings - Fork 14
/
kubernetes-deployment.yaml
44 lines (44 loc) · 1.01 KB
/
kubernetes-deployment.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: gosmee
spec:
replicas: 1
selector:
matchLabels:
app: gosmee
template:
metadata:
labels:
app: gosmee
spec:
containers:
- image: ghcr.io/chmouel/gosmee:main
imagePullPolicy: Always
name: gosmee
args:
[
"client",
"--output",
"json",
"--saveDir",
"/tmp/save",
"https://yousmee.url",
"http://deployment.name.namespace.name:PORT_OF_SERVICE",
]
resources:
limits:
cpu: 100m
memory: 32Mi
requests:
cpu: 10m
memory: 32Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- "ALL"
runAsNonRoot: true
readOnlyRootFilesystem: true
seccompProfile:
type: RuntimeDefault