Skip to content

Commit

Permalink
adding nodeSelector
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaillat committed Oct 14, 2024
1 parent 2e27825 commit c7fb35c
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion infra/helm/zippy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.9
version: 0.1.10-alpha1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
3 changes: 3 additions & 0 deletions infra/helm/zippy/templates/api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ spec:
app: zippy
tier: api
spec:
{{- if $.Values.nodeSelector }}
nodeSelector: {{ toYaml $.Values.nodeSelector | nindent 8 }}
{{- end }}
volumes:
- name: data
{{- if .persistence.enabled }}
Expand Down
3 changes: 3 additions & 0 deletions infra/helm/zippy/templates/cron-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ spec:
app: zippy
tier: cron
spec:
{{- if $.Values.nodeSelector }}
nodeSelector: {{ toYaml $.Values.nodeSelector | nindent 8 }}
{{- end }}
volumes:
- name: data
{{- if .persistence.enabled }}
Expand Down
3 changes: 3 additions & 0 deletions infra/helm/zippy/templates/rabbitmq-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ spec:
app: zippy
tier: rabbitmq
spec:
{{- if $.Values.nodeSelector }}
nodeSelector: {{ toYaml $.Values.nodeSelector | nindent 8 }}
{{- end }}
volumes:
- name: rabbitmq
{{- if .persistence.enabled }}
Expand Down
3 changes: 3 additions & 0 deletions infra/helm/zippy/templates/worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ spec:
app: zippy
tier: worker
spec:
{{- if $.Values.nodeSelector }}
nodeSelector: {{ toYaml $.Values.nodeSelector | nindent 8 }}
{{- end }}
volumes:
- name: data
{{- if .persistence.enabled }}
Expand Down
2 changes: 2 additions & 0 deletions infra/helm/zippy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ image:
fullnameOverride:
nameOverride:

nodeSelector: {}

rabbitmq:
enabled: true
username: zippy
Expand Down

0 comments on commit c7fb35c

Please sign in to comment.