blob: e7e3266659b8187b319abc4eca7a4e54e83f0b50 (
plain) (
blame)
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
|
apiVersion: apps/v1
kind: Deployment
metadata:
name: metricity
namespace: bots
spec:
replicas: 1
selector:
matchLabels:
app: metricity
template:
metadata:
labels:
app: metricity
spec:
securityContext:
fsGroup: 2000
runAsUser: 1000
runAsNonRoot: true
containers:
- name: metricity
image: ghcr.io/python-discord/metricity:latest
imagePullPolicy: "Always"
envFrom:
- secretRef:
name: metricity-env
securityContext:
readOnlyRootFilesystem: true
|