From b1cbfcbc241c03e0a518c0feeff04234a583072f Mon Sep 17 00:00:00 2001 From: mugioka Date: Sun, 19 Jun 2022 03:11:39 +0900 Subject: [PATCH] feat: be able to enable failover feature if it is supported by agent/controller. --- charts/panope/Chart.yaml | 2 +- charts/panope/templates/agent/configmap.yaml | 1 + charts/panope/values.yaml | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/panope/Chart.yaml b/charts/panope/Chart.yaml index 5974c1a..9f8a5f1 100644 --- a/charts/panope/Chart.yaml +++ b/charts/panope/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: 0.6.9 +version: 0.6.10 # 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/panope/templates/agent/configmap.yaml b/charts/panope/templates/agent/configmap.yaml index 54eca19..3fd62c3 100644 --- a/charts/panope/templates/agent/configmap.yaml +++ b/charts/panope/templates/agent/configmap.yaml @@ -21,3 +21,4 @@ data: METRICS_PORT: {{ .Values.agent.configMap.metricsPort | default "2112" | quote }} ROLLING_UPDATE_TIMEOUT_SEC: {{ .Values.agent.configMap.rollingUpdateTimeoutSec | default "180" | quote }} DRAINING_TIMEOUT_SEC: {{ .Values.agent.configMap.drainingTimeoutSec | default "180" | quote }} + FAILOVER_ENABLED: {{ .Values.agent.configMap.failoverEnabled | quote }} diff --git a/charts/panope/values.yaml b/charts/panope/values.yaml index 21ac100..523fe07 100644 --- a/charts/panope/values.yaml +++ b/charts/panope/values.yaml @@ -149,6 +149,9 @@ agent: # if not set, default value is 180 drainingTimeoutSec: + # configure the failover feature + failoverEnabled: "false" + serviceAccount: name: "" # labels to add to the service account