|
| 1 | +## githubConfigUrl is the GitHub url for where you want to configure runners |
| 2 | +## ex: https://github.com/myorg/myrepo or https://github.com/myorg |
| 3 | +githubConfigUrl: https://github.com/enterprises/cncf |
| 4 | + |
| 5 | +## githubConfigSecret is the k8s secrets to use when auth with GitHub API. |
| 6 | +## You can choose to use GitHub App or a PAT token |
| 7 | +githubConfigSecret: github-arc-secret |
| 8 | + |
| 9 | +controllerServiceAccount: |
| 10 | + namespace: arc-systems |
| 11 | + name: cncf-gha-controller-gha-rs-controller |
1 | 12 | ## proxy can be used to define proxy settings that will be used by the |
2 | 13 | ## controller, the listener and the runner of this scale set. |
3 | 14 | # |
|
13 | 24 | # - example.org |
14 | 25 |
|
15 | 26 | ## maxRunners is the max number of runners the autoscaling runner set will scale up to. |
16 | | -maxRunners: 10 |
| 27 | +maxRunners: 20 |
17 | 28 |
|
18 | 29 | ## minRunners is the min number of idle runners. The target number of runners created will be |
19 | 30 | ## calculated as a sum of minRunners and the number of jobs assigned to the scale set. |
@@ -80,7 +91,12 @@ listenerTemplate: |
80 | 91 | nodeSelectorTerms: |
81 | 92 | - matchExpressions: |
82 | 93 | - key: node-role.kubernetes.io/control-plane |
83 | | - operator: Exists# containers: |
| 94 | + operator: Exists |
| 95 | + containers: |
| 96 | + - name: listener |
| 97 | + securityContext: |
| 98 | + runAsUser: 1000 |
| 99 | +# containers: |
84 | 100 | # # Use this section to append additional configuration to the listener container. |
85 | 101 | # # If you change the name of the container, the configuration will not be applied to the listener, |
86 | 102 | # # and it will be treated as a side-car container. |
@@ -176,16 +192,7 @@ template: |
176 | 192 | ## requests: |
177 | 193 | ## storage: 1Gi |
178 | 194 | spec: |
179 | | - affinity: |
180 | | - nodeAffinity: |
181 | | - requiredDuringSchedulingIgnoredDuringExecution: |
182 | | - nodeSelectorTerms: |
183 | | - - matchExpressions: |
184 | | - - key: node.kubernetes.io/instance-type |
185 | | - operator: In |
186 | | - values: |
187 | | - - m3.large.x86 |
188 | | - containers: |
| 195 | + containers: |
189 | 196 | - name: runner |
190 | 197 | image: ghcr.io/jeefy/gha-runner:main |
191 | 198 | imagePullPolicy: Always |
|
0 commit comments