Skip to content

Commit

Permalink
Merge pull request #120 from nascd/helm
Browse files Browse the repository at this point in the history
feat: support user-supplied annotations on service definition
  • Loading branch information
FabianKramm authored Mar 1, 2024
2 parents 2c4bded + 88db17d commit 759f730
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 759f730

Please sign in to comment.