(dev-v2.6-archive) Update kiali to 1.23.0

(partially cherry picked from commit d397bb512c)
pull/1680/head
Brenda Rearden 2020-09-17 01:34:49 -07:00 committed by Arvind Iyengar
parent 824e9a5211
commit 8e6e45ad6d
No known key found for this signature in database
GPG Key ID: A8DD9BFD6C811498
16 changed files with 580 additions and 450 deletions

View File

@ -1,2 +1,2 @@
url: https://github.com/rancher/fleet/releases/download/v0.3.0-beta1/fleet-agent-0.3.0-beta1.tgz url: https://github.com/rancher/fleet/releases/download/v0.3.0-alpha9/fleet-agent-0.3.0-alpha9.tgz
packageVersion: 00 packageVersion: 00

View File

@ -1,2 +1,2 @@
url: https://github.com/rancher/fleet/releases/download/v0.3.0-beta1/fleet-crd-0.3.0-beta1.tgz url: https://github.com/rancher/fleet/releases/download/v0.3.0-alpha9/fleet-crd-0.3.0-alpha9.tgz
packageVersion: 00 packageVersion: 00

View File

@ -1,2 +1,2 @@
url: https://github.com/rancher/fleet/releases/download/v0.3.0-beta1/fleet-0.3.0-beta1.tgz url: https://github.com/rancher/fleet/releases/download/v0.3.0-alpha9/fleet-0.3.0-alpha9.tgz
packageVersion: 00 packageVersion: 00

View File

@ -1,8 +1,8 @@
apiVersion: v1 apiVersion: v1
appVersion: 1.6.8 appVersion: 1.7.1
description: Helm chart for installing istio components with the istioctl description: A basic Istio setup that installs with the istioctl. Refer to https://istio.io/latest/ for details.
name: rancher-istio name: rancher-istio
version: 1.6.800 version: 1.7.100
icon: https://charts.rancher.io/assets/logos/istio.svg icon: https://charts.rancher.io/assets/logos/istio.svg
keywords: keywords:
- networking - networking
@ -13,4 +13,5 @@ annotations:
catalog.cattle.io/release-name: rancher-istio catalog.cattle.io/release-name: rancher-istio
catalog.cattle.io/ui-component: istio catalog.cattle.io/ui-component: istio
catalog.cattle.io/requires-gvr: monitoring.coreos.com.prometheus/v1 catalog.cattle.io/requires-gvr: monitoring.coreos.com.prometheus/v1
catalog.cattle.io/provides-gvr: networking.istio.io.virtualservice/v1beta1
catalog.cattle.io/auto-install: rancher-kiali-server-crd=1.22.001 catalog.cattle.io/auto-install: rancher-kiali-server-crd=1.22.001

View File

@ -4,14 +4,6 @@ spec:
addonComponents: addonComponents:
istiocoredns: istiocoredns:
enabled: {{ .Values.istiocoredns.enabled }} enabled: {{ .Values.istiocoredns.enabled }}
prometheus:
enabled: false
grafana:
enabled: false
kiali:
enabled: false
tracing:
enabled: false
components: components:
base: base:
enabled: {{ .Values.base.enabled }} enabled: {{ .Values.base.enabled }}

View File

@ -3,5 +3,5 @@ dependencies:
- name: rancher-kiali-server - name: rancher-kiali-server
alias: kiali alias: kiali
condition: kiali.enabled condition: kiali.enabled
version: 1.22.0 version: 1.23.0
repository: file://../../rancher-kiali-server/charts repository: file://../../rancher-kiali-server/charts

View File

@ -1,6 +1,6 @@
overlayFile: "" overlayFile: ""
tag: 1.6.8 tag: 1.7.1
installerVersion: 1.6.8-rancher1 installerVersion: 1.7.1-rancher1
forceInstall: false forceInstall: false
istiocoredns: istiocoredns:
@ -18,7 +18,7 @@ base:
cni: cni:
enabled: false enabled: false
repository: rancher/istio-install-cni repository: rancher/istio-install-cni
tag: 1.6.8 tag: 1.7.1
egressGateways: egressGateways:
enabled: false enabled: false
@ -34,17 +34,17 @@ istiodRemote:
pilot: pilot:
enabled: true enabled: true
repository: rancher/istio-pilot repository: rancher/istio-pilot
tag: 1.6.8 tag: 1.7.1
policy: policy:
enabled: true enabled: true
repository: rancher/istio-mixer repository: rancher/istio-mixer
tag: 1.6.8 tag: 1.7.1
telemetry: telemetry:
enabled: true enabled: true
repository: rancher/istio-mixer repository: rancher/istio-mixer
tag: 1.6.8 tag: 1.7.1
sidecarInjectorWebhook: sidecarInjectorWebhook:
enableNamespacesByDefault: false enableNamespacesByDefault: false
@ -58,10 +58,10 @@ global:
systemDefaultRegistry: "" systemDefaultRegistry: ""
proxy: proxy:
repository: rancher/istio-proxyv2 repository: rancher/istio-proxyv2
tag: 1.6.8 tag: 1.7.1
proxy_init: proxy_init:
repository: rancher/istio-proxyv2 repository: rancher/istio-proxyv2
tag: 1.6.8 tag: 1.7.1
defaultPodDisruptionBudget: defaultPodDisruptionBudget:
enabled: true enabled: true
@ -77,7 +77,7 @@ kiali:
deployment: deployment:
ingress_enabled: false ingress_enabled: false
repository: rancher/kiali-kiali repository: rancher/kiali-kiali
tag: v1.22.1 tag: v1.23.0
external_services: external_services:
prometheus: prometheus:
custom_metrics_url: "http://rancher-monitoring-prometheus.cattle-monitoring-system.svc:9090" custom_metrics_url: "http://rancher-monitoring-prometheus.cattle-monitoring-system.svc:9090"

View File

@ -1,4 +1,4 @@
url: https://kiali.org/helm-charts/kiali-server-1.22.0.tgz url: https://kiali.org/helm-charts/kiali-server-1.23.0.tgz
packageVersion: 01 packageVersion: 01
generateCRDChart: generateCRDChart:
enabled: true enabled: true

View File

@ -1,12 +1,12 @@
diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-kiali-server/charts-original/Chart.yaml packages/rancher-kiali-server/charts/Chart.yaml diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-kiali-server/charts-original/Chart.yaml packages/rancher-kiali-server/charts/Chart.yaml
--- packages/rancher-kiali-server/charts-original/Chart.yaml --- packages/rancher-kiali-server/charts-original/Chart.yaml
+++ packages/rancher-kiali-server/charts/Chart.yaml +++ packages/rancher-kiali-server/charts/Chart.yaml
@@ -1,20 +1,28 @@ @@ -1,20 +1,27 @@
apiVersion: v2 apiVersion: v2
appVersion: v1.22.0 appVersion: v1.23.0
-description: Kiali is an open source project for service mesh observability, refer -description: Kiali is an open source project for service mesh observability, refer
- to https://www.kiali.io for details. - to https://www.kiali.io for details.
+description: Rancher chart based on Kiali Server, containing standard defaults. Installed as sub-chart with customized values in Rancher's Istio. +description: Kiali is an open source project for service mesh observability, refer to https://www.kiali.io for details. This is installed as sub-chart with customized values in Rancher's Istio.
home: https://github.com/kiali/kiali home: https://github.com/kiali/kiali
icon: https://raw.githubusercontent.com/kiali/kiali.io/master/themes/kiali/static/img/kiali_logo_masthead.png icon: https://raw.githubusercontent.com/kiali/kiali.io/master/themes/kiali/static/img/kiali_logo_masthead.png
keywords: keywords:
@ -34,13 +34,12 @@ diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-kiali-server/charts-original/C
+ - https://github.com/kiali/kiali-ui + - https://github.com/kiali/kiali-ui
+ - https://github.com/kiali/kiali-operator + - https://github.com/kiali/kiali-operator
+ - https://github.com/kiali/helm-charts + - https://github.com/kiali/helm-charts
version: 1.22.0 version: 1.23.0
+annotations: +annotations:
+ catalog.cattle.io/requires-gvr: monitoring.coreos.com.prometheus/v1 + catalog.cattle.io/requires-gvr: monitoring.coreos.com.prometheus/v1
+ catalog.rancher.io/namespace: cattle-istio-system + catalog.rancher.io/namespace: cattle-istio-system
+ catalog.rancher.io/release-name: rancher-kiali-server + catalog.rancher.io/release-name: rancher-kiali-server
+ catalog.cattle.io/hidden: true + catalog.cattle.io/hidden: true
+ catalog.cattle.io/auto-install: rancher-kiali-server-crd=match
+ catalog.cattle.io/provides-gvr: monitoringdashboards.monitoring.kiali.io/v1alpha1 + catalog.cattle.io/provides-gvr: monitoringdashboards.monitoring.kiali.io/v1alpha1
diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-kiali-server/charts-original/templates/_helpers.tpl packages/rancher-kiali-server/charts/templates/_helpers.tpl diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-kiali-server/charts-original/templates/_helpers.tpl packages/rancher-kiali-server/charts/templates/_helpers.tpl
--- packages/rancher-kiali-server/charts-original/templates/_helpers.tpl --- packages/rancher-kiali-server/charts-original/templates/_helpers.tpl
@ -64,8 +63,8 @@ diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-kiali-server/charts-original/t
{{- end }} {{- end }}
+ +
+{{- define "system_default_registry" -}} +{{- define "system_default_registry" -}}
+{{- if .Values.global.systemDefaultRegistry -}} +{{- if .Values.global.cattle.systemDefaultRegistry -}}
+{{- printf "%s/" .Values.global.systemDefaultRegistry -}} +{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}}
+{{- else -}} +{{- else -}}
+{{- "" -}} +{{- "" -}}
+{{- end -}} +{{- end -}}
@ -123,7 +122,7 @@ diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-kiali-server/charts-original/t
+ {{- include "kiali-server.labels" . | nindent 4 }} + {{- include "kiali-server.labels" . | nindent 4 }}
+data: +data:
+ env.js: | + env.js: |
+ window.WEB_ROOT='/k8s/clusters/{{ .Values.global.rancher.clusterId }}/api/v1/namespaces/{{ .Release.Namespace }}/services/http:rancher-istio-kiali:20001/proxy'; + window.WEB_ROOT='/k8s/clusters/{{ .Values.global.cattle.clusterId }}/api/v1/namespaces/{{ .Release.Namespace }}/services/http:rancher-istio-kiali:20001/proxy';
+{{- end }} +{{- end }}
diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-kiali-server/charts-original/values.yaml packages/rancher-kiali-server/charts/values.yaml diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-kiali-server/charts-original/values.yaml packages/rancher-kiali-server/charts/values.yaml
--- packages/rancher-kiali-server/charts-original/values.yaml --- packages/rancher-kiali-server/charts-original/values.yaml
@ -136,9 +135,9 @@ diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-kiali-server/charts-original/v
+web_root_override: true +web_root_override: true
+ +
# #
# Settings that mimic the Kiali CR which are placed in the ConfigMap # Settings that mimic the Kiali CR which are placed in the ConfigMap.
# # Note that only those values used by the Helm Chart will be here.
@@ -57,10 +60,10 @@ @@ -34,10 +37,10 @@
custom_dashboards: custom_dashboards:
excludes: [''] excludes: ['']
includes: ['*'] includes: ['*']
@ -146,22 +145,20 @@ diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-kiali-server/charts-original/v
+ repository: rancher/kiali-kiali + repository: rancher/kiali-kiali
image_pull_policy: "Always" image_pull_policy: "Always"
image_pull_secrets: [] image_pull_secrets: []
- image_version: v1.22.0 - image_version: v1.23.0
+ tag: v1.22.0 + tag: v1.23.0
ingress_enabled: true ingress_enabled: true
node_selector: {} node_selector: {}
override_ingress_yaml: override_ingress_yaml:
@@ -182,3 +185,13 @@ @@ -66,3 +69,11 @@
web_fqdn: "" metrics_enabled: true
metrics_port: 9090
web_root: "" web_root: ""
web_schema: ""
+ +
+# Common settings used among istio subcharts. +# Common settings used among istio subcharts.
+global: +global:
+
+ # Specify rancher clusterId of external tracing config + # Specify rancher clusterId of external tracing config
+ # https://github.com/istio/istio.io/issues/4146#issuecomment-493543032 + # https://github.com/istio/istio.io/issues/4146#issuecomment-493543032
+ rancher: + cattle:
+ systemDefaultRegistry: ""
+ clusterId: + clusterId:
+
+ systemDefaultRegistry: ""

View File

@ -1,4 +1,4 @@
url: https://github.com/prometheus-community/helm-charts/releases/download/kube-prometheus-stack-9.4.2/kube-prometheus-stack-9.4.2.tgz url: https://kubernetes-charts.storage.googleapis.com/prometheus-operator-8.16.1.tgz
packageVersion: 00 packageVersion: 00
generateCRDChart: generateCRDChart:
enabled: true enabled: true

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +1,2 @@
url: https://github.com/rancher/rancher-operator/releases/download/v0.1.0-alpha7/rancher-operator-crd-0.1.0-alpha7.tgz url: https://github.com/rancher/rancher-operator/releases/download/v0.1.0-alpha6/rancher-operator-crd-0.1.0-alpha6.tgz
packageVersion: 00 packageVersion: 00

View File

@ -1,2 +1,2 @@
url: https://github.com/rancher/rancher-operator/releases/download/v0.1.0-alpha7/rancher-operator-0.1.0-alpha7.tgz url: https://github.com/rancher/rancher-operator/releases/download/v0.1.0-alpha6/rancher-operator-0.1.0-alpha6.tgz
packageVersion: 00 packageVersion: 00

View File

@ -9,5 +9,4 @@ annotations:
catalog.cattle.io/certified: rancher catalog.cattle.io/certified: rancher
catalog.cattle.io/namespace: rio-system catalog.cattle.io/namespace: rio-system
catalog.cattle.io/release-name: rio catalog.cattle.io/release-name: rio
catalog.cattle.io/experimental: true catalog.cattle.io/experimental: true
catalog.cattle.io/requires-gvr: networking.istio.io.virtualservice/v1beta1

View File

@ -12,7 +12,12 @@ See values.yaml for installation options.
## Prerequisites ## Prerequisites
Rio requires Kubernetes 1.15 or newer cluster. 1. Rio requires Kubernetes 1.15 or newer cluster.
1. Helm installed in the cluster. If Tiller and its service account are not already installed run the following:
```bash
$ kubectl apply -f helm/tiller-serviceaccount.yaml
$ helm init --service-account tiller
```
## Installation ## Installation

View File

@ -0,0 +1,20 @@
# This grants Helm/tiller the cluster admin role.
apiVersion: v1
kind: ServiceAccount
metadata:
name: tiller
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: tiller-cluster-rule
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: tiller
namespace: kube-system