mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-02 16:51:52 +02:00
54 lines
1.5 KiB
YAML
54 lines
1.5 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: arc-home-ops
|
|
namespace: actions-runner-system
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: gha-runner-scale-set
|
|
version: 0.5.0
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: actions-runner-controller
|
|
namespace: flux-system
|
|
maxHistory: 2
|
|
install:
|
|
createNamespace: true
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
retries: 3
|
|
uninstall:
|
|
keepHistory: false
|
|
values:
|
|
runnerScaleSetName: arc-runner-set-home-ops
|
|
githubConfigUrl: https://github.com/auricom/home-ops
|
|
minRunners: 1
|
|
maxRunners: 3
|
|
containerMode:
|
|
type: dind
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: runner
|
|
image: ghcr.io/onedr0p/github-actions-runner:rolling@sha256:b595cf0735825bfb5f2da427da993b128b64f10cd3d8e5631a0e67546155f1eb
|
|
valuesFrom:
|
|
- kind: Secret
|
|
name: actions-runner-controller-auth-secret
|
|
valuesKey: github_app_id
|
|
targetPath: githubConfigSecret.github_app_id
|
|
- kind: Secret
|
|
name: actions-runner-controller-auth-secret
|
|
valuesKey: github_app_installation_id
|
|
targetPath: githubConfigSecret.github_app_installation_id
|
|
- kind: Secret
|
|
name: actions-runner-controller-auth-secret
|
|
valuesKey: github_app_private_key
|
|
targetPath: githubConfigSecret.github_app_private_key
|