From 0f1a42a5cc4c3189f184dbe9f6b0346da0ca21e0 Mon Sep 17 00:00:00 2001 From: Michael Vollman Date: Mon, 6 Jul 2020 10:41:02 -0400 Subject: [PATCH] Add threadiness to helm chart --- charts/flagger/Chart.yaml | 2 +- charts/flagger/README.md | 1 + charts/flagger/templates/deployment.yaml | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/flagger/Chart.yaml b/charts/flagger/Chart.yaml index 42013cf3..dc36eabb 100644 --- a/charts/flagger/Chart.yaml +++ b/charts/flagger/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: flagger -version: 1.0.0 +version: 1.1.0 appVersion: 1.0.0 kubeVersion: ">=1.11.0-0" engine: gotpl diff --git a/charts/flagger/README.md b/charts/flagger/README.md index 888c9fe2..3d5dbc8a 100644 --- a/charts/flagger/README.md +++ b/charts/flagger/README.md @@ -134,6 +134,7 @@ Parameter | Description | Default `resources.limits/memory` | Pod memory limit | `512Mi` `affinity` | Node/pod affinities | None `nodeSelector` | Node labels for pod assignment | `{}` +`threadiness` | Number of controller workers | `2` `tolerations` | List of node taints to tolerate | `[]` `istio.kubeconfig.secretName` | The name of the Kubernetes secret containing the Istio shared control plane kubeconfig | None `istio.kubeconfig.key` | The name of Kubernetes secret data key that contains the Istio control plane kubeconfig | `kubeconfig` diff --git a/charts/flagger/templates/deployment.yaml b/charts/flagger/templates/deployment.yaml index 9666a15f..eac5a1c9 100644 --- a/charts/flagger/templates/deployment.yaml +++ b/charts/flagger/templates/deployment.yaml @@ -112,6 +112,9 @@ spec: {{- if .Values.istio.kubeconfig.secretName }} - -kubeconfig-service-mesh=/tmp/istio-host/{{ .Values.istio.kubeconfig.key }} {{- end }} + {{- if .Values.threadiness }} + - -threadiness={{ .Values.threadiness }} + {{- end }} livenessProbe: exec: command: