diff --git a/stable/etcd-operator/Chart.yaml b/stable/etcd-operator/Chart.yaml index 91f3f1760135..44a7f6a5d55e 100755 --- a/stable/etcd-operator/Chart.yaml +++ b/stable/etcd-operator/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: CoreOS etcd-operator Helm chart for Kubernetes name: etcd-operator -version: 0.4.0 +version: 0.4.1 appVersion: 0.3.2 home: https://github.com/coreos/etcd-operator icon: https://raw.githubusercontent.com/coreos/etcd/master/logos/etcd-horizontal-color.png diff --git a/stable/etcd-operator/templates/deployment.yaml b/stable/etcd-operator/templates/deployment.yaml index 598229f00c8a..bea9257682a5 100644 --- a/stable/etcd-operator/templates/deployment.yaml +++ b/stable/etcd-operator/templates/deployment.yaml @@ -27,7 +27,11 @@ spec: command: - "/bin/sh" - "-c" - - "/usr/local/bin/etcd-operator --pv-provisioner={{ .Values.cluster.backup.provisioner }}" + - "/usr/local/bin/etcd-operator" + - "--pv-provisioner={{ .Values.cluster.backup.provisioner }}" +{{- range $key, $value := .Values.commandArgs }} + - "--{{ $key }}={{ $value }}" +{{- end }} env: - name: MY_POD_NAMESPACE valueFrom: diff --git a/stable/etcd-operator/values.yaml b/stable/etcd-operator/values.yaml index c8fbdb08539a..3c8f0fba3fa2 100644 --- a/stable/etcd-operator/values.yaml +++ b/stable/etcd-operator/values.yaml @@ -13,6 +13,12 @@ resources: requests: cpu: 100m memory: 128Mi + +## etcd-operator specific values +## additional command arguments go here; will be translated to `--key=value` form +commandArgs: + # analytics: true + ## etcd-cluster specific values cluster: enabled: false