[stable/weave-scope] Fix compatibility for Kubernetes 1.16, update weave-scope to 1.12.0 (#19184)

* [stable/weave-scope] Fix compatibility with k8s 1.16 for weave-scope-frontend

Signed-off-by: Bastian Hofmann <bashofmann@gmail.com>

* [stable/weave-scope] Bump weave-scope to 1.12.0 and bump chart version consistently

Signed-off-by: Bastian Hofmann <bashofmann@gmail.com>

* bump chart versions

Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
This commit is contained in:
Bastian Hofmann
2019-12-10 14:04:06 -08:00
committed by Kubernetes Prow Robot
parent 6cb5b70b2e
commit dcd6b37fa3
6 changed files with 20 additions and 9 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
apiVersion: v1
name: weave-scope
version: 1.1.7
appVersion: 1.11.6
version: 1.1.8
appVersion: 1.12.0
description: A Helm chart for the Weave Scope cluster visualizer.
keywords:
- containers
@@ -1,7 +1,7 @@
description: A Helm chart for the Weave Scope cluster visualizer node agent.
name: weave-scope-agent
version: 1.1.7
appVersion: 1.11.6
version: 1.1.8
appVersion: 1.12.0
keywords:
- containers
- dashboard
@@ -1,7 +1,7 @@
description: A Helm chart for the Weave Scope cluster visualizer node agent.
name: weave-scope-cluster-agent
version: 1.1.7
appVersion: 1.11.6
version: 1.1.8
appVersion: 1.12.0
keywords:
- containers
- dashboard
@@ -1,7 +1,7 @@
description: A Helm chart for the Weave Scope cluster visualizer frontend.
name: weave-scope-frontend
version: 1.1.7
appVersion: 1.11.6
version: 1.1.8
appVersion: 1.12.0
keywords:
- containers
- dashboard
@@ -48,3 +48,14 @@ Create a fully qualified name that always uses the name of the top-level chart.
{{- $name := default (.Template.BasePath | split "/" )._0 .Values.nameOverride -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Return the apiVerion of deployment.
*/}}
{{- define "deployment.apiVersion" -}}
{{- if semverCompare "<1.14-0" .Capabilities.KubeVersion.GitVersion -}}
{{- print "extensions/v1beta1" -}}
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
{{- print "apps/v1" -}}
{{- end -}}
{{- end -}}
+1 -1
View File
@@ -4,7 +4,7 @@ global:
# global.image: the image that will be used for this release
image:
repository: weaveworks/scope
tag: 1.11.5
tag: 1.12.0
# global.image.pullPolicy: must be Always, IfNotPresent, or Never
pullPolicy: "IfNotPresent"
# global.service.*: the configuration of the service used to access the frontend