-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathhelm-release.yml
More file actions
64 lines (64 loc) · 1.67 KB
/
Copy pathhelm-release.yml
File metadata and controls
64 lines (64 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
# yaml-language-server: $schema=https://chkpwd.github.io/iac/helm.toolkit.fluxcd.io/helmrelease_v2.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: actions-runners
spec:
interval: 1h
chartRef:
kind: OCIRepository
name: gha-runner-scale-set
values:
githubConfigUrl: https://github.com/chkpwd/iac
githubConfigSecret: github-org-token
controllerServiceAccount:
name: actions-runner-controller
namespace: actions-runner-system
minRunners: 0
maxRunners: 2
containerMode:
type: kubernetes
kubernetesModeWorkVolumeClaim:
accessModes:
- ReadWriteOnce
storageClassName: ceph-block
resources:
requests:
storage: 2Gi
listenerTemplate:
spec:
containers:
- name: listener
securityContext:
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
resources:
requests:
cpu: 20m
memory: 32Mi
limits:
cpu: 100m
memory: 64Mi
template:
spec:
securityContext:
fsGroup: 1000
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
containers:
- name: runner
image: ghcr.io/actions/actions-runner:2.336.0
resources:
requests:
cpu: 100m
memory: 512Mi
limits:
cpu: 2000m
memory: 2Gi