diff --git a/charts/cluster-secret/templates/deployment.yaml b/charts/cluster-secret/templates/deployment.yaml index 543c00e..d02d5b3 100644 --- a/charts/cluster-secret/templates/deployment.yaml +++ b/charts/cluster-secret/templates/deployment.yaml @@ -44,3 +44,15 @@ spec: periodSeconds: 120 resources: {} serviceAccountName: {{ include "cluster-secret.fullname" . }}-account + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} \ No newline at end of file diff --git a/charts/cluster-secret/values.yaml b/charts/cluster-secret/values.yaml index fec189d..660eb65 100644 --- a/charts/cluster-secret/values.yaml +++ b/charts/cluster-secret/values.yaml @@ -9,3 +9,8 @@ image: kubernetesClusterDomain: cluster.local +nodeSelector: {} + +tolerations: [] + +affinity: {}