mirror of
				https://github.com/open-webui/helm-charts
				synced 2025-06-26 18:16:14 +00:00 
			
		
		
		
	Enable service accounts for pipelines chart
Follow up from https://github.com/open-webui/helm-charts/pull/110
This commit is contained in:
		
							parent
							
								
									357d167f76
								
							
						
					
					
						commit
						f539153797
					
				| @ -27,7 +27,11 @@ spec: | ||||
|         {{- toYaml . | nindent 8 }} | ||||
|       {{- end }} | ||||
|       enableServiceLinks: false | ||||
|       automountServiceAccountToken: false | ||||
|       automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken | default false }} | ||||
|       {{- if .Values.serviceAccount.enable }} | ||||
|       serviceAccountName: {{ .Values.serviceAccount.name | default (include "pipelines.name" .) }} | ||||
|       {{- end }} | ||||
| 
 | ||||
|       containers: | ||||
|       - name: {{ .Chart.Name }} | ||||
|         {{- with .Values.image }} | ||||
|  | ||||
							
								
								
									
										12
									
								
								charts/pipelines/templates/service-account.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								charts/pipelines/templates/service-account.yaml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,12 @@ | ||||
| {{- if .Values.serviceAccount.enable }} | ||||
| apiVersion: v1 | ||||
| kind: ServiceAccount | ||||
| metadata: | ||||
|   name: {{ .Values.serviceAccount.name | default (include "pipelines.name" .) }} | ||||
|   labels: | ||||
|     {{- include "pipelines.labels" . | nindent 4 }} | ||||
|   {{- with .Values.serviceAccount.annotations }} | ||||
|   annotations: | ||||
|     {{- toYaml . | nindent 4 }} | ||||
|   {{- end }} | ||||
| {{- end }} | ||||
| @ -38,6 +38,10 @@ persistence: | ||||
|   selector: {} | ||||
|   annotations: {} | ||||
| 
 | ||||
| serviceAccount: | ||||
|   enable: true | ||||
|   automountServiceAccountToken: false | ||||
| 
 | ||||
| # -- Node labels for pod assignment. | ||||
| nodeSelector: {} | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user