Add support for additional environment variables (#271)
This commit is contained in:
		
							parent
							
								
									1127c447c4
								
							
						
					
					
						commit
						b3bef6404c
					
				|  | @ -57,6 +57,10 @@ spec: | |||
|               optional: true | ||||
|         - name: GITHUB_APP_PRIVATE_KEY | ||||
|           value: /etc/actions-runner-controller/github_app_private_key | ||||
|         {{- range $key, $val := .Values.env }} | ||||
|         - name: {{ $key }} | ||||
|           value: {{ $val | quote }} | ||||
|         {{- end }} | ||||
|         image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (cat "v" .Chart.AppVersion | replace " " "") }}" | ||||
|         name: manager | ||||
|         imagePullPolicy: {{ .Values.image.pullPolicy }} | ||||
|  |  | |||
|  | @ -103,3 +103,8 @@ affinity: {} | |||
| # ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/ | ||||
| # PriorityClass: system-cluster-critical | ||||
| priorityClassName: "" | ||||
| 
 | ||||
| env: {} | ||||
|   # http_proxy: "proxy.com:8080" | ||||
|   # https_proxy: "proxy.com:8080" | ||||
|   # no_proxy: "" | ||||
		Loading…
	
		Reference in New Issue