blob: a3a30b701c5bc4fad4fe31c68f454509e0e2689c (
plain)
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
|
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: sapientwindex
labels:
app.kubernetes.io/name: sapientwindex
annotations:
operator.1password.io/auto-restart: "true"
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: sapientwindex
template:
metadata:
labels:
app.kubernetes.io/name: sapientwindex
spec:
volumes:
- name: sapientwindex
secret:
secretName: sapientwindex
containers:
- name: bot
image: ghcr.io/xe/x/sapientwindex:latest
imagePullPolicy: "Always"
resources:
limits:
cpu: "500m"
memory: "512Mi"
requests:
cpu: "100m"
memory: "256Mi"
securityContext:
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
seccompProfile:
type: RuntimeDefault
volumeMounts:
- name: sapientwindex
readOnly: true
mountPath: "/run/secrets/sapientwindex"
|