Skip to content

Commit

Permalink
Merge pull request #197 from fmuyassarov/fix-missing-tolerations
Browse files Browse the repository at this point in the history
helm: fix missing tolerations option in sgx-epc plugin
  • Loading branch information
marquiz authored Nov 17, 2023
2 parents 4c47aae + 1e0fc0d commit 67ab522
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deployment/helm/sgx-epc/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ spec:
labels:
{{- include "sgx-epc.labels" . | nindent 8 }}
spec:
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
restartPolicy: Always
nodeSelector:
kubernetes.io/os: "linux"
Expand Down
9 changes: 9 additions & 0 deletions deployment/helm/sgx-epc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,12 @@ initContainerImage:
# If not defined Chart.AppVersion will be used
#tag: unstable
pullPolicy: Always

tolerations: []
#
# Example:
#
# tolerations:
# - key: "node-role.kubernetes.io/control-plane"
# operator: "Exists"
# effect: "NoSchedule"

0 comments on commit 67ab522

Please sign in to comment.