Skip to content

Commit

Permalink
Merge pull request #1 from onecx/arm-support
Browse files Browse the repository at this point in the history
added global arm toleration
  • Loading branch information
andrejpetras authored Jan 30, 2024
2 parents 86c95b8 + 35c8ddd commit deb35df
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ spec:
{{- else if .Values.global.nodeSelector }}
nodeSelector:
{{- .Values.global.nodeSelector | toYaml | trim | nindent 8 }}
{{- end }}
{{- if .Values.tolerations }}
tolerations:
{{- .Values.tolerations | toYaml | trim | nindent 8 }}
{{- else if .Values.global.tolerations }}
tolerations:
{{- .Values.global.tolerations | toYaml | trim | nindent 8 }}
{{- end }}
containers:
- name: {{ include "app-angular.fullname" . }}
Expand Down
6 changes: 6 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ global:
# node selector for the pods
nodeSelector:

# tolerations for the pods
tolerations:

# Name of the instance, default {{ .Release.Name }}-{{ .Values.name | default .Chart.Name }}
name:
# ID of the application instance, default
Expand Down Expand Up @@ -47,6 +50,9 @@ startupProbe:
# node selector for the pods
nodeSelector:

# tolerations for the pods
tolerations:

# pod
pod:
port: 8080
Expand Down

0 comments on commit deb35df

Please sign in to comment.