Skip to content

Commit

Permalink
Merge pull request #105 from OSGP/feature/FDP-442-adding-affinity-to-…
Browse files Browse the repository at this point in the history
…deployment

Adding affinity to deployment
  • Loading branch information
JelleHoffman authored Aug 2, 2023
2 parents f182fab + 80720aa commit 246fad7
Show file tree
Hide file tree
Showing 2 changed files with 4 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.23'
version: '1.5.24'
icon: https://artwork.lfenergy.org/projects/grid-exchange-fabric/abbrev/color/grid-exchange-fabric-abbrev-color.png
maintainers:
- name: OSGP
Expand Down
3 changes: 3 additions & 0 deletions charts/gxf/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ spec:
values:
- {{ .Release.Name }}
topologyKey: kubernetes.io/hostname
{{- if .Values.affinity }}
{{- toYaml .Values.affinity | nindent 8 }}
{{- end }}
volumes:
- name: osgp-config
configMap:
Expand Down

0 comments on commit 246fad7

Please sign in to comment.