Skip to content

Commit

Permalink
Merge pull request #126 from OSGP/feature/FDP-2187
Browse files Browse the repository at this point in the history
FDP-2187: Add tolerations and nodeSelector
  • Loading branch information
jasperkamerling authored May 23, 2024
2 parents 32e0a2f + e36fe71 commit 5a136bd
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/activemq-artemis/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: activemq-artemis
version: 0.0.30
version: 0.1.0
description: a multi-protocol, embeddable, very high performance, clustered, asynchronous messaging system.
keywords:
- activemq
Expand Down
8 changes: 8 additions & 0 deletions charts/activemq-artemis/templates/statefulsets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ spec:
prometheus.io/port: '9404'
prometheus.io/scrape: 'true'
spec:
{{- if .Values.nodeSelector }}
nodeSelector:
{{- toYaml .Values.nodeSelector | nindent 8 }}
{{- end }}
{{- if .Values.tolerations }}
tolerations:
{{- toYaml .Values.tolerations | nindent 8 }}
{{- end }}
{{- if .Values.imagePullSecret }}
imagePullSecrets:
- name: {{ .Values.imagePullSecret }}
Expand Down
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.39'
version: '1.6.0'
icon: https://artwork.lfenergy.org/projects/grid-exchange-fabric/abbrev/color/grid-exchange-fabric-abbrev-color.png
maintainers:
- name: OSGP
Expand Down
4 changes: 4 additions & 0 deletions charts/gxf/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ spec:
nodeSelector:
{{- toYaml .Values.nodeSelector | nindent 8 }}
{{- end }}
{{- if .Values.tolerations }}
tolerations:
{{- toYaml .Values.tolerations | nindent 8 }}
{{- end }}
serviceAccountName: {{ .Values.serviceAccount.name }}
{{- if .Values.imagePullSecret }}
imagePullSecrets:
Expand Down

0 comments on commit 5a136bd

Please sign in to comment.