From 264d6f550fb34d2606763f042040c7b2d63a2fbc Mon Sep 17 00:00:00 2001 From: John Strunk Date: Thu, 13 Jun 2024 19:50:28 +0000 Subject: [PATCH] Update api manifest Signed-off-by: John Strunk --- summarize-api.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/summarize-api.yaml b/summarize-api.yaml index 8b0b4ab..dbde43b 100644 --- a/summarize-api.yaml +++ b/summarize-api.yaml @@ -51,7 +51,7 @@ spec: app: summarize-api spec: containers: - - name: estimator + - name: summarize-api image: ghcr.io/johnstrunk/jira-summarizer:1.2.1@sha256:505b205a45f0eb24d82fa5c02dc105af6d075362cb2694d82dc5face1d0a54ed command: - "/app/.venv/bin/gunicorn" @@ -78,6 +78,12 @@ spec: drop: - ALL readOnlyRootFilesystem: true + volumeMounts: + - name: tmp-volume + mountPath: /tmp securityContext: runAsNonRoot: true terminationGracePeriodSeconds: 10 + volumes: + - name: tmp-volume + emptyDir: {}