Skip to content

Commit

Permalink
Merge pull request #118 from OSGP/add-labels-and-annotations-to-servi…
Browse files Browse the repository at this point in the history
…ceaccount

Add labels and annotations templating to serviceaccount
  • Loading branch information
sanderv authored Nov 27, 2023
2 parents 1c30748 + 9cac273 commit aabf7c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/gxf/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: gxf
description: Generic GXF Helm chart
version: '1.5.31'
version: '1.5.32'
icon: https://artwork.lfenergy.org/projects/grid-exchange-fabric/abbrev/color/grid-exchange-fabric-abbrev-color.png
maintainers:
- name: OSGP
Expand Down
7 changes: 7 additions & 0 deletions charts/gxf/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,11 @@ metadata:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
{{- with .Values.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
annotations:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}

0 comments on commit aabf7c0

Please sign in to comment.