diff --git a/templates/qryn-deployment.yaml b/templates/qryn-deployment.yaml index 22bd28e..51f06f3 100644 --- a/templates/qryn-deployment.yaml +++ b/templates/qryn-deployment.yaml @@ -17,6 +17,10 @@ spec: automountServiceAccountToken: {{ .Values.automountServiceAccountToken }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} + {{- if .Values.nodeSelector }} + nodeSelector: + {{- toYaml .Values.nodeSelector | nindent 8 }} + {{ end }} containers: - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" name: {{ include "qryn-helm.fullname" . }} diff --git a/values.yaml b/values.yaml index 90b450d..e416c0b 100644 --- a/values.yaml +++ b/values.yaml @@ -28,15 +28,19 @@ livenessProbe: endpoint: "/metrics" podAnnotations: {} + # podLabels: {} podLabels: - qryn + ## Custom pod annotations podAnnotations: {} - ## Node labels for pod assignment ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ + nodeSelector: {} +# nodeSelector: +# kubernetes.io/os: linux ## Taints to tolerate on node assignment: ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/