From 54987759c2b3a0700e6c365d0ff42b345924bfe8 Mon Sep 17 00:00:00 2001 From: antares-sw <23400824+antares-sw@users.noreply.github.com> Date: Mon, 31 Jul 2023 18:55:45 +0300 Subject: [PATCH] Add extraFlags (#424) --- charts/web3signer/Chart.yaml | 2 +- charts/web3signer/templates/statefulset.yaml | 3 +++ charts/web3signer/values.yaml | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/charts/web3signer/Chart.yaml b/charts/web3signer/Chart.yaml index 16879a8f4..6365c7a93 100644 --- a/charts/web3signer/Chart.yaml +++ b/charts/web3signer/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 4.0.1 +version: 4.0.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/web3signer/templates/statefulset.yaml b/charts/web3signer/templates/statefulset.yaml index 438e2e0fe..826279de9 100644 --- a/charts/web3signer/templates/statefulset.yaml +++ b/charts/web3signer/templates/statefulset.yaml @@ -87,6 +87,9 @@ spec: args: - --config-file=/config/config.yaml - eth2 + {{- range .Values.extraFlags }} + - {{ . | quote }} + {{- end }} env: - name: JAVA_OPTS value: {{ .Values.web3signerJavaOpts | quote }} diff --git a/charts/web3signer/values.yaml b/charts/web3signer/values.yaml index d94c17f3c..0976cc20b 100644 --- a/charts/web3signer/values.yaml +++ b/charts/web3signer/values.yaml @@ -111,6 +111,9 @@ web3signerJavaOpts: "-Xmx1g -Xms1g" ## keyManagerApiEnabled: "false" +## Extra flags for web3signer +## +extraFlags: [] ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ ##