blob: a674648137a8c4d7d22531ae7735bb9c18d88469 (
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
29
30
31
32
|
apiVersion: apps/v1
kind: Deployment
metadata:
name: kubewatch
namespace: monitoring
spec:
selector:
matchLabels:
app: kubewatch
template:
metadata:
labels:
app: kubewatch
spec:
serviceAccountName: kubewatch
containers:
- image: ghcr.io/python-discord/kubewatch:latest
imagePullPolicy: Always
name: kubewatch
volumeMounts:
- name: config-volume
mountPath: /root
envFrom:
- secretRef:
name: kubewatch-secrets
securityContext:
readOnlyRootFilesystem: true
restartPolicy: Always
volumes:
- name: config-volume
configMap:
name: kubewatch-config
|