Skip to content

Commit

Permalink
feat: support user-supplied annotations on service definition
Browse files Browse the repository at this point in the history
  • Loading branch information
nascd committed Feb 27, 2024
1 parent 35b26c0 commit 88db17d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chart/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ kind: Service
metadata:
name: jspolicy
namespace: {{ .Release.Namespace }}
{{- if .Values.service.annotations }}
annotations:
{{- .Values.service.annotations | toYaml | nindent 4 }}
{{- end }}
labels:
app: {{ template "jspolicy.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
Expand Down

0 comments on commit 88db17d

Please sign in to comment.