From 0016f121edaefe2774da742452987cd9ad30a4ae Mon Sep 17 00:00:00 2001 From: Dario Tranchitella Date: Mon, 6 Feb 2023 21:54:45 +0100 Subject: [PATCH] feat(helm): emptyDir with memory medium for flock performances --- charts/kamaji/templates/controller.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/charts/kamaji/templates/controller.yaml b/charts/kamaji/templates/controller.yaml index 461f76dd..82ddd5cb 100644 --- a/charts/kamaji/templates/controller.yaml +++ b/charts/kamaji/templates/controller.yaml @@ -77,11 +77,16 @@ spec: securityContext: {{- toYaml .Values.securityContext | nindent 12 }} volumeMounts: + - mountPath: /tmp + name: tmp - mountPath: /tmp/k8s-webhook-server/serving-certs name: cert readOnly: true terminationGracePeriodSeconds: 10 volumes: + - name: tmp + emptyDir: + medium: Memory - name: cert secret: defaultMode: 420