Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Joe Mayer
system-charts
Commits
f503fe74
Commit
f503fe74
authored
Jun 03, 2019
by
Guangbo Chen
Committed by
Craig Jellick
Jun 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Jaeger external url of Kiali
parent
9942ab9d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
charts/rancher-istio/1.1.5-rancher1/charts/kiali/templates/configmap.yaml
...stio/1.1.5-rancher1/charts/kiali/templates/configmap.yaml
+0
-2
charts/rancher-istio/1.1.5-rancher1/charts/kiali/templates/deployment.yaml
...tio/1.1.5-rancher1/charts/kiali/templates/deployment.yaml
+10
-0
charts/rancher-istio/1.1.5-rancher1/values.yaml
charts/rancher-istio/1.1.5-rancher1/values.yaml
+6
-0
No files found.
charts/rancher-istio/1.1.5-rancher1/charts/kiali/templates/configmap.yaml
View file @
f503fe74
...
@@ -25,6 +25,4 @@ data:
...
@@ -25,6 +25,4 @@ data:
custom_metrics_url: "http://prometheus.{{ .Release.Namespace }}:9090"
custom_metrics_url: "http://prometheus.{{ .Release.Namespace }}:9090"
{{- if .Values.dashboard.grafanaURL }}
{{- if .Values.dashboard.grafanaURL }}
url: {{ .Values.dashboard.grafanaURL }}
url: {{ .Values.dashboard.grafanaURL }}
{{- else }}
url: "http://prometheus.{{ .Release.Namespace }}:9090"
{{- end }}
{{- end }}
charts/rancher-istio/1.1.5-rancher1/charts/kiali/templates/deployment.yaml
View file @
f503fe74
...
@@ -38,6 +38,16 @@ spec:
...
@@ -38,6 +38,16 @@ spec:
-
"
-v"
-
"
-v"
-
"
4"
-
"
4"
env
:
env
:
{{
- if and .Values.global.rancher (and .Values.global.rancher.domain .Values.global.rancher.clusterId)
}}
{{
- if not .Values.dashboard.jaegerURL
}}
-
name
:
JAEGER_URL
value
:
'
https://{{
.Values.global.rancher.domain
}}/k8s/clusters/{{
.Values.global.rancher.clusterId
}}/api/v1/namespaces/{{
.Release.Namespace
}}/services/tracing:80/proxy/jaeger'
{{
- end
}}
{{
- if not .Values.dashboard.grafanaURL
}}
-
name
:
GRAFANA_URL
value
:
'
https://{{
.Values.global.rancher.domain
}}/k8s/clusters/{{
.Values.global.rancher.clusterId
}}/api/v1/namespaces/{{
.Release.Namespace
}}/services/http:grafana:80/proxy/'
{{
- end
}}
{{
- end
}}
-
name
:
ACTIVE_NAMESPACE
-
name
:
ACTIVE_NAMESPACE
valueFrom
:
valueFrom
:
fieldRef
:
fieldRef
:
...
...
charts/rancher-istio/1.1.5-rancher1/values.yaml
View file @
f503fe74
...
@@ -133,6 +133,12 @@ certmanager:
...
@@ -133,6 +133,12 @@ certmanager:
# Common settings used among istio subcharts.
# Common settings used among istio subcharts.
global
:
global
:
# Specify rancher domain and clusterId of external tracing config
# https://github.com/istio/istio.io/issues/4146#issuecomment-493543032
rancher
:
domain
:
clusterId
:
systemDefaultRegistry
:
"
"
systemDefaultRegistry
:
"
"
# Default hub for Istio images.
# Default hub for Istio images.
# Releases are published to docker hub under 'istio' project.
# Releases are published to docker hub under 'istio' project.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment