mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-17 07:31:25 +00:00
Set GITHUB_TOKEN environment variable from secret resource
This commit is contained in:
@@ -29,6 +29,12 @@ spec:
|
|||||||
- /manager
|
- /manager
|
||||||
args:
|
args:
|
||||||
- --enable-leader-election
|
- --enable-leader-election
|
||||||
|
env:
|
||||||
|
- name: GITHUB_TOKEN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: controller-manager
|
||||||
|
key: github_token
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
|
|||||||
Reference in New Issue
Block a user