This is an automated email from the ASF dual-hosted git repository. innerpeacez 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 f17232c fix ports not exposed (#76) f17232c is described below commit f17232c608c51a760035fb5183e47555426a5fdf Author: Jared Tan <jian....@daocloud.io> AuthorDate: Thu Jul 15 18:02:08 2021 +0800 fix ports not exposed (#76) --- 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 }}"