diff options
author | 2024-06-05 01:31:18 +0100 | |
---|---|---|
committer | 2024-06-05 01:31:18 +0100 | |
commit | b44959db0244b629acf4fa46ca6f569786adb020 (patch) | |
tree | 6552749c367830d91ffc5a48f2b89cfa2b85c6a4 /kubernetes | |
parent | Add automatic HBA rules for all users to connect via mTLS (diff) |
Add tmpfs to King Arthur
Diffstat (limited to 'kubernetes')
-rw-r--r-- | kubernetes/namespaces/bots/king-arthur/deployment.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kubernetes/namespaces/bots/king-arthur/deployment.yaml b/kubernetes/namespaces/bots/king-arthur/deployment.yaml index b5250ba..16f3a2c 100644 --- a/kubernetes/namespaces/bots/king-arthur/deployment.yaml +++ b/kubernetes/namespaces/bots/king-arthur/deployment.yaml @@ -5,6 +5,8 @@ metadata: namespace: bots spec: replicas: 1 + strategy: + type: Recreate selector: matchLabels: app: king-arthur @@ -30,7 +32,14 @@ spec: name: king-arthur-env securityContext: readOnlyRootFilesystem: true + volumeMounts: + - name: tmpfs + mountPath: /tmp securityContext: fsGroup: 2000 runAsUser: 1000 runAsNonRoot: true + volumes: + - name: tmpfs + emptyDir: + medium: Memory |