File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ maintainers:
1515 email : pawan.mehta@devtron.ai
1616sources :
1717 - https://github.com/devtron-labs/charts
18- version : 0.1.7
18+ version : 0.1.8
1919appVersion : " 0.1.1"
2020dependencies :
2121- name : clair
Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ Return full image
3333{ {/*
3434Expand the node selectors, tolerations, and image pull secrets for a Kubernetes resource.
3535Usage:
36- {{ include " common.nodeSelector " (dict " nodeSelector" .Values.path.to.nodeSelector " tolerations" .Values.path.to.tolerations " imagePullSecrets" .Values.path.to.imagePullSecrets " global" .Values.global ) } }
36+ {{ include " common.schedulerConfig " (dict " nodeSelector" .Values.path.to.nodeSelector " tolerations" .Values.path.to.tolerations " imagePullSecrets" .Values.path.to.imagePullSecrets " global" .Values.global ) } }
3737*/}}
3838
39- { {- define " common.nodeSelector " -} }
39+ { {- define " common.schedulerConfig " -} }
4040 { {- if .nodeSelector } }
4141nodeSelector:
4242{ { toYaml .nodeSelector | indent 2 } }
Original file line number Diff line number Diff line change 9191{{ toYaml .labels | indent 8 }}
9292{{- end}}
9393 spec :
94- {{- include "common.nodeSelector" (dict "nodeSelector" $.Values.imageScanner.nodeSelector "tolerations" $.Values.imageScanner.tolerations "imagePullSecrets" $.Values.imageScanner.imagePullSecrets "global" $.Values.global) | indent 6 }}
94+ {{- include "common.schedulerConfig" (dict "nodeSelector" $.Values.imageScanner.nodeSelector "tolerations" $.Values.imageScanner.tolerations "imagePullSecrets" $.Values.imageScanner.imagePullSecrets "global" $.Values.global) | indent 6 }}
95+ serviceAccountName : devtron-default-sa
9596 terminationGracePeriodSeconds : 30
9697 restartPolicy : Always
9798 {{- if and $.Values.global $.Values.global.podSecurityContext }}
You can’t perform that action at this time.
0 commit comments