mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +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.8.1
|
|
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:97b74a2c9ae3f573e5168a247d3e0a14bd18aaf1e7b1003192090f4a089a8c07
|
|
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
|