You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2021/09/09 08:37:54 UTC
[skywalking-kubernetes] branch master updated: Fix can't evaluate
field Capabilities in type interface (#80)
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-kubernetes.git
The following commit(s) were added to refs/heads/master by this push:
new 1979bbd Fix can't evaluate field Capabilities in type interface (#80)
1979bbd is described below
commit 1979bbdde6816c6c75dadf832758aa1bbbfdbb69
Author: aikin <ai...@gmail.com>
AuthorDate: Thu Sep 9 16:37:46 2021 +0800
Fix can't evaluate field Capabilities in type interface (#80)
---
chart/skywalking/templates/ui-ingress.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chart/skywalking/templates/ui-ingress.yaml b/chart/skywalking/templates/ui-ingress.yaml
index dac773f..4d3cb57 100644
--- a/chart/skywalking/templates/ui-ingress.yaml
+++ b/chart/skywalking/templates/ui-ingress.yaml
@@ -45,7 +45,7 @@ spec:
paths:
- path: /{{ rest $url | join "/" }}
backend:
- {{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress" }}
+ {{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress" }}
service:
name: {{ $serviceName }}
port:
@@ -54,7 +54,7 @@ spec:
serviceName: {{ $serviceName }}
servicePort: {{ $servicePort }}
{{- end }}
- {{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress" }}
+ {{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress" }}
pathType: Prefix
{{- end }}
{{- end -}}