Skip to content

Commit

Permalink
add nodeselector
Browse files Browse the repository at this point in the history
  • Loading branch information
devops-mher committed Aug 29, 2023
1 parent fb5c77e commit 2e89777
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/backend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: backend
description: Helm chart scaffolding for Backend applications.
type: application
version: 3.6.4
version: 3.6.5
appVersion: 1.3.0
4 changes: 4 additions & 0 deletions charts/backend/templates/migrate-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,8 @@ spec:
volumes:
{{- toYaml .Values.migration.extraVolumes | nindent 6 }}
{{- end }}
{{- with .Values.migration.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions charts/backend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ migration:
## tag:
## digest: ""
##
nodeSelector: {}
config:
command: []
# - "/bin/sh"
Expand Down
2 changes: 1 addition & 1 deletion charts/frontend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: frontend
description: A frontend Helm chart for Kubernetes
type: application
version: 3.6.4
version: 3.6.5
appVersion: "0.3.10"
4 changes: 4 additions & 0 deletions charts/frontend/templates/migrate-public-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,8 @@ spec:
volumes:
{{- toYaml .Values.migration.extraVolumes | nindent 6 }}
{{- end }}
{{- with .Values.migration.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions charts/frontend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ migration:
## tag:
## digest: ""
##
nodeSelector: {}
config:
command: []
# - "/bin/sh"
Expand Down

0 comments on commit 2e89777

Please sign in to comment.