This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-helm.git
The following commit(s) were added to refs/heads/master by this push:
new 36825bc add support to oap service annotations (#136)
36825bc is described below
commit 36825bc177f1b1ddf9e7c6444f5e4ad96f1c8c44
Author: Raed Habib <[email protected]>
AuthorDate: Mon Oct 30 02:19:20 2023 +0300
add support to oap service annotations (#136)
---
chart/skywalking/templates/oap-svc.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/chart/skywalking/templates/oap-svc.yaml
b/chart/skywalking/templates/oap-svc.yaml
index 8a04ec6..23a4917 100644
--- a/chart/skywalking/templates/oap-svc.yaml
+++ b/chart/skywalking/templates/oap-svc.yaml
@@ -23,6 +23,12 @@ metadata:
component: "{{ .Values.oap.name }}"
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
+ {{- with .Values.oap.service.annotations }}
+ annotations:
+ {{- range $key, $value := . }}
+ {{ $key }}: {{ $value | quote }}
+ {{- end }}
+ {{- end }}
spec:
type: {{ .Values.oap.service.type }}
ports: