From c9861c7cfb676e83ddb1459e0f0272715aecd968 Mon Sep 17 00:00:00 2001 From: Yoshiki Fujikane <40124947+ffjlabo@users.noreply.github.com> Date: Fri, 16 Aug 2024 13:31:25 +0900 Subject: [PATCH] Support --app-manifest-cache-count on helm chart (#5142) Signed-off-by: Yoshiki Fujikane --- manifests/piped/templates/_helpers.tpl | 1 + manifests/piped/values.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/manifests/piped/templates/_helpers.tpl b/manifests/piped/templates/_helpers.tpl index 6dfeae6767..a8ae07175f 100644 --- a/manifests/piped/templates/_helpers.tpl +++ b/manifests/piped/templates/_helpers.tpl @@ -163,6 +163,7 @@ A set of args for Piped. - --log-encoding={{ .Values.args.logEncoding }} - --log-level={{ .Values.args.logLevel }} - --add-login-user-to-passwd={{ .Values.args.addLoginUserToPasswd }} +- --app-manifest-cache-count={{ .Values.args.appManifestCacheCount }} {{- if .Values.quickstart.enabled }} - --insecure=true {{- else }} diff --git a/manifests/piped/values.yaml b/manifests/piped/values.yaml index 22061c47aa..47e9880409 100644 --- a/manifests/piped/values.yaml +++ b/manifests/piped/values.yaml @@ -16,6 +16,8 @@ args: addLoginUserToPasswd: false # Ensure that the pod will be restarted by random an annotation value to key rollme. forceRestart: true + # The number of app manifests to cache. The cache-key contains the commit hash. The default is 150. (default 150) + appManifestCacheCount: 150 launcher: enabled: false