Adds setting of a service account for the worker.
This commit is contained in:
		
							parent
							
								
									82b457b9da
								
							
						
					
					
						commit
						72573d978c
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -26,6 +26,7 @@ spec:
 | 
				
			||||||
      imagePullSecrets:
 | 
					      imagePullSecrets:
 | 
				
			||||||
        {{- toYaml . | nindent 8 }}
 | 
					        {{- toYaml . | nindent 8 }}
 | 
				
			||||||
    {{- end }}
 | 
					    {{- end }}
 | 
				
			||||||
 | 
					      serviceAccountName: {{ include "django.serviceAccountName" . }}
 | 
				
			||||||
      securityContext:
 | 
					      securityContext:
 | 
				
			||||||
        {{- toYaml .Values.podSecurityContext | nindent 8 }}
 | 
					        {{- toYaml .Values.podSecurityContext | nindent 8 }}
 | 
				
			||||||
      containers:
 | 
					      containers:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue