Skip to content

Commit

Permalink
add support to oap service annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
rh-at committed Oct 29, 2023
1 parent 019d008 commit 20c0abe
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 20c0abe

Please sign in to comment.