Skip to content

Commit

Permalink
Merge pull request #49 from 7knot/feat/be-able-to-enable-failover-fea…
Browse files Browse the repository at this point in the history
…ture-if-it-is-supported-by-agent-and-controller

feat: be able to enable failover feature if it is supported by agent/controller.
  • Loading branch information
mugioka authored Jun 18, 2022
2 parents 578f259 + b1cbfcb commit 3c1d4b5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/panope/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions charts/panope/templates/agent/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
3 changes: 3 additions & 0 deletions charts/panope/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c1d4b5

Please sign in to comment.