Use Values.uuid for cluster id with default of uuidv4 (#3055)

* Use Values.uuid for cluster id with default of uuidv4

Currently uses uuidv4 for cluster-id and the "default" Values.uuid won't be
used.

* Bump spartakus version to 1.1.2
This commit is contained in:
Ian Burrell
2017-12-18 07:06:34 -08:00
committed by k8s-ci-robot
parent f7edc873f1
commit 5056ebd3a9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: spartakus
version: 1.1.1
version: 1.1.2
description: Collect information about Kubernetes clusters to help improve the project.
sources:
- https://github.com/kubernetes-incubator/spartakus
+1 -1
View File
@@ -25,7 +25,7 @@ spec:
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
args:
- volunteer
- --cluster-id="{{ uuidv4 | default .Values.uuid }}"
- --cluster-id="{{ .Values.uuid | default uuidv4 }}"
{{- range $key, $value := .Values.extraArgs }}
- --{{ $key }}={{ $value }}
{{- end }}