Allow custom labels to be specified for controller pods (#2952)
Co-authored-by: Waldek Herka <waldek.herka@no.reply>
This commit is contained in:
		
							parent
							
								
									1a8abb6d39
								
							
						
					
					
						commit
						ce80adb9ab
					
				|  | @ -27,6 +27,9 @@ spec: | ||||||
|         app.kubernetes.io/component: controller-manager |         app.kubernetes.io/component: controller-manager | ||||||
|         app.kubernetes.io/version: {{ .Chart.Version }} |         app.kubernetes.io/version: {{ .Chart.Version }} | ||||||
|         {{- include "gha-runner-scale-set-controller.selectorLabels" . | nindent 8 }} |         {{- include "gha-runner-scale-set-controller.selectorLabels" . | nindent 8 }} | ||||||
|  |         {{- with .Values.podLabels }} | ||||||
|  |           {{- toYaml . | nindent 8 }} | ||||||
|  |         {{- end }} | ||||||
|     spec: |     spec: | ||||||
|       {{- with .Values.imagePullSecrets }} |       {{- with .Values.imagePullSecrets }} | ||||||
|       imagePullSecrets: |       imagePullSecrets: | ||||||
|  |  | ||||||
|  | @ -41,6 +41,8 @@ serviceAccount: | ||||||
| 
 | 
 | ||||||
| podAnnotations: {} | podAnnotations: {} | ||||||
| 
 | 
 | ||||||
|  | podLabels: {} | ||||||
|  | 
 | ||||||
| podSecurityContext: {} | podSecurityContext: {} | ||||||
| # fsGroup: 2000 | # fsGroup: 2000 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue