Skip to content

Commit

Permalink
Merge pull request #119 from OSGP/serviceaccount-specific-labels-and-…
Browse files Browse the repository at this point in the history
…annotations

Make labels and annotations serviceaccount specific
  • Loading branch information
sanderv authored Nov 27, 2023
2 parents aabf7c0 + 61e77bc commit ff6a9a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
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.32'
version: '1.5.33'
icon: https://artwork.lfenergy.org/projects/grid-exchange-fabric/abbrev/color/grid-exchange-fabric-abbrev-color.png
maintainers:
- name: OSGP
Expand Down
8 changes: 4 additions & 4 deletions charts/gxf/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ metadata:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
{{- with .Values.labels }}
{{- toYaml . | nindent 4 }}
{{- with .Values.serviceAccount.labels }}
{{- tpl (toYaml .) $ | nindent 4 }}
{{- end }}
annotations:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
{{- tpl (toYaml .) $ | nindent 4 }}
{{- end }}
{{- end }}

0 comments on commit ff6a9a2

Please sign in to comment.