mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-02 00:34:25 +02:00
56 lines
1.7 KiB
YAML
56 lines
1.7 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: arc-home-ops
|
|
namespace: actions-runner-system
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: gha-runner-scale-set
|
|
version: 0.8.2
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: actions-runner-controller
|
|
namespace: flux-system
|
|
install:
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
retries: 3
|
|
uninstall:
|
|
keepHistory: false
|
|
valuesFrom:
|
|
- targetPath: githubConfigSecret.github_app_id
|
|
kind: Secret
|
|
name: actions-runner-controller-auth-secret
|
|
valuesKey: ACTION_RUNNER_CONTROLLER_GITHUB_APP_ID
|
|
- targetPath: githubConfigSecret.github_app_installation_id
|
|
kind: Secret
|
|
name: actions-runner-controller-auth-secret
|
|
valuesKey: ACTION_RUNNER_CONTROLLER_GITHUB_INSTALLATION_ID
|
|
- targetPath: githubConfigSecret.github_app_private_key
|
|
kind: Secret
|
|
name: actions-runner-controller-auth-secret
|
|
valuesKey: ACTION_RUNNER_CONTROLLER_GITHUB_PRIVATE_KEY
|
|
values:
|
|
runnerScaleSetName: arc-runner-set-home-ops
|
|
githubConfigUrl: https://github.com/auricom/home-ops
|
|
minRunners: 1
|
|
maxRunners: 6
|
|
containerMode:
|
|
type: dind
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: runner
|
|
image: ghcr.io/actions/actions-runner:2.313.0@sha256:1ef5f581bc6e56a6114ddc7579a1390e9afbdf1f4ab208e44562a15f5c19c136
|
|
command: ["/home/runner/run.sh"]
|
|
controllerServiceAccount:
|
|
name: actions-runner-controller-gha-rs-controller
|
|
namespace: actions-runner-system
|