You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ta...@apache.org on 2021/07/15 01:05:57 UTC
[skywalking-kubernetes] 01/01: fix ports not exposed
This is an automated email from the ASF dual-hosted git repository.
tanjian pushed a commit to branch port_expose
in repository https://gitbox.apache.org/repos/asf/skywalking-kubernetes.git
commit ed4411ca8cfe0c9929f9db7b49cafb0ccc2fca0e
Author: JaredTan95 <ji...@daocloud.io>
AuthorDate: Thu Jul 15 09:05:20 2021 +0800
fix ports not exposed
---
chart/skywalking/templates/oap-svc.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/chart/skywalking/templates/oap-svc.yaml b/chart/skywalking/templates/oap-svc.yaml
index aefe78a..8a04ec6 100644
--- a/chart/skywalking/templates/oap-svc.yaml
+++ b/chart/skywalking/templates/oap-svc.yaml
@@ -26,10 +26,10 @@ metadata:
spec:
type: {{ .Values.oap.service.type }}
ports:
- - port: {{ .Values.oap.ports.rest }}
- name: rest
- - port: {{ .Values.oap.ports.grpc }}
- name: grpc
+ {{- range $key, $value := .Values.oap.ports }}
+ - port: {{ $value }}
+ name: {{ $key }}
+ {{- end }}
selector:
app: {{ template "skywalking.name" . }}
component: "{{ .Values.oap.name }}"