Added emptyDir for caching settings

This commit is contained in:
斟酌 鵬兄 2023-01-31 04:36:58 +08:00
parent 446847a7a8
commit 91cc543fe4

View File

@ -19,8 +19,18 @@ spec:
- name: app
image: registry.k8s.astropenguin.net/golifehk:IMAGE_TAG
env:
- name: GOLIFEHK_WORKDIR
value: "/workdir"
- name: TELEGRAM_API_TOKEN
valueFrom:
secretKeyRef:
name: golifehk-conf
key: TELEGRAM_API_TOKEN
volumes:
volumeMounts:
- mountPath: /workdir
name: workdir
volumes:
- name: workdir
emptyDir:
sizeLimit: 10Mi