Skip to content

Commit

Permalink
Merge pull request #55 from aiyengar2/fix_node_selectors_and_tolerations
Browse files Browse the repository at this point in the history
Fix nodeSelectors and tolerations
  • Loading branch information
Arvind Iyengar authored Mar 18, 2022
2 parents 7eec500 + f0ccaf3 commit 3693991
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions charts/aks-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ spec:
ke.cattle.io/operator: aks
spec:
nodeSelector: {{ include "linux-node-selector" . | nindent 8 }}
{{- if .Values.nodeSelector }}
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end }}
tolerations: {{ include "linux-node-tolerations" . | nindent 6}}
{{- if .Values.tolerations }}
{{ toYaml .Values.tolerations | indent 6 }}
{{- end }}
{{- if .Values.nodeSelector }}
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end }}
tolerations: {{ include "linux-node-tolerations" . | nindent 8 }}
{{- if .Values.tolerations }}
{{ toYaml .Values.tolerations | indent 8 }}
{{- end }}
serviceAccountName: aks-operator
securityContext:
fsGroup: 1007
Expand Down
1 change: 1 addition & 0 deletions charts/aks-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ httpProxy: ""
httpsProxy: ""
noProxy: ""
additionalTrustedCAs: false

## Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
Expand Down

0 comments on commit 3693991

Please sign in to comment.