Add Weave Cloud service token option

This commit is contained in:
Stefan Prodan
2018-04-25 15:00:27 +03:00
parent ee10c878a0
commit 07d3192afb
3 changed files with 8 additions and 0 deletions

View File

@@ -88,6 +88,7 @@ The following tables lists the configurable parameters of the Weave Flux chart a
| `helmOperator.repository` | Helm operator image repository | `quay.io/weaveworks/helm-operator`
| `helmOperator.tag` | Helm operator image tag | `master-6f427cb`
| `helmOperator.pullPolicy` | Helm operator image pull policy | `IfNotPresent`
| `token` | Weave Cloud service token | None
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example:

View File

@@ -53,6 +53,10 @@ spec:
- --git-path={{ .Values.git.path }}
- --git-user={{ .Values.git.user }}
- --git-email={{ .Values.git.email }}
{{- if .Values.token }}
- --connect=wss://cloud.weave.works/api/flux
- --token={{ .Values.token }}
{{- end }}
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- with .Values.nodeSelector }}

View File

@@ -1,5 +1,8 @@
# Default values for weave-flux.
# Weave Cloud service token
token: ""
replicaCount: 1
image: