Add nodeSelector, tolerations, affinity to beat
This commit is contained in:
		
							parent
							
								
									5419200024
								
							
						
					
					
						commit
						7973dd906d
					
				
					 2 changed files with 15 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -60,5 +60,17 @@ spec:
 | 
			
		|||
                name: {{ include "django.fullname" . }}
 | 
			
		||||
            - configMapRef:
 | 
			
		||||
                name: {{ include "django.fullname" . }}
 | 
			
		||||
        {{- with .Values.beat.nodeSelector }}
 | 
			
		||||
          nodeSelector:
 | 
			
		||||
            {{- toYaml . | nindent 8 }}
 | 
			
		||||
          {{- end }}
 | 
			
		||||
        {{- with .Values.beat.affinity }}
 | 
			
		||||
          affinity:
 | 
			
		||||
            {{- toYaml . | nindent 8 }}
 | 
			
		||||
        {{- end }}
 | 
			
		||||
        {{- with .Values.beat.tolerations }}
 | 
			
		||||
          tolerations:
 | 
			
		||||
            {{- toYaml . | nindent 8 }}
 | 
			
		||||
        {{- end }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -103,6 +103,9 @@ worker:
 | 
			
		|||
 | 
			
		||||
beat:
 | 
			
		||||
  enabled: true
 | 
			
		||||
  nodeSelector: {}
 | 
			
		||||
  tolerations: []
 | 
			
		||||
  affinity: {}
 | 
			
		||||
 | 
			
		||||
serviceAccount:
 | 
			
		||||
  # Specifies whether a service account should be created
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue