Skip to content

Commit

Permalink
add support to oap service annotations (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
rh-at authored Oct 29, 2023
1 parent 019d008 commit 36825bc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions chart/skywalking/templates/oap-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 36825bc

Please sign in to comment.