fix: allow GH priv key from env in helm chart (#884)
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
This commit is contained in:
		
							parent
							
								
									961f01baed
								
							
						
					
					
						commit
						6f51f560ba
					
				|  | @ -85,7 +85,11 @@ spec: | ||||||
|               name: {{ include "actions-runner-controller.secretName" . }} |               name: {{ include "actions-runner-controller.secretName" . }} | ||||||
|               optional: true |               optional: true | ||||||
|         - name: GITHUB_APP_PRIVATE_KEY |         - name: GITHUB_APP_PRIVATE_KEY | ||||||
|           value: /etc/actions-runner-controller/github_app_private_key |           valueFrom: | ||||||
|  |             secretKeyRef: | ||||||
|  |               key: github_app_private_key | ||||||
|  |               name: {{ include "actions-runner-controller.secretName" . }} | ||||||
|  |               optional: true | ||||||
|         {{- end }} |         {{- end }} | ||||||
|         {{- range $key, $val := .Values.env }} |         {{- range $key, $val := .Values.env }} | ||||||
|         - name: {{ $key }} |         - name: {{ $key }} | ||||||
|  |  | ||||||
|  | @ -23,6 +23,12 @@ enableLeaderElection: true | ||||||
| 
 | 
 | ||||||
| # Only 1 authentication method can be deployed at a time | # Only 1 authentication method can be deployed at a time | ||||||
| # Uncomment the configuration you are applying and fill in the details | # Uncomment the configuration you are applying and fill in the details | ||||||
|  | # | ||||||
|  | # If authSecret.enabled=true these values are inherited to actions-runner-controller's controller-manager container's env. | ||||||
|  | # | ||||||
|  | # Do set authSecret.enabled=false and set env if you want full control over | ||||||
|  | # the GitHub authn related envvars of the container. | ||||||
|  | # See https://github.com/actions-runner-controller/actions-runner-controller/pull/937 for more details. | ||||||
| authSecret: | authSecret: | ||||||
|   enabled: true |   enabled: true | ||||||
|   create: false |   create: false | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue