added plausible init container, security context's & events-db configuration into configmap

This commit is contained in:
Oscar Beaumont
2021-07-19 15:28:44 +08:00
parent aa9f96cd12
commit 46f050f54c
4 changed files with 105 additions and 5 deletions

View File

@ -42,6 +42,11 @@ spec:
app.kubernetes.io/part-of: plausible
spec:
restartPolicy: Always
# see https://github.com/docker-library/postgres/blob/6bbf1c7b308d1c4288251d73c37f6caf75f8a3d4/14/buster/Dockerfile
securityContext:
runAsUser: 999
runAsGroup: 999
fsGroup: 999
containers:
- name: plausible-db
image: postgres:latest