Skip to content

Commit

Permalink
k8s/arc: init
Browse files Browse the repository at this point in the history
  • Loading branch information
ttrssreal committed Dec 22, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 8d32f24 commit 9773cdf
Showing 3 changed files with 65 additions and 0 deletions.
9 changes: 9 additions & 0 deletions k8s/github-runners/namespaces.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: Namespace
metadata:
name: actions-runner-controller
---
apiVersion: v1
kind: Namespace
metadata:
name: github-runners
25 changes: 25 additions & 0 deletions k8s/github-runners/scale-set-controller.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: gha-runner-scale-set-controller
namespace: apps
annotations:
argocd.argoproj.io/sync-wave: "1"
spec:
project: apps
sources:
- chart: gha-runner-scale-set-controller
repoURL: ghcr.io/actions/actions-runner-controller-charts
targetRevision: 0.10.1
helm:
releaseName: gha-runner-scale-set-controller
destination:
server: "https://kubernetes.default.svc"
namespace: actions-runner-controller
syncPolicy:
syncOptions:
- Replace=true
automated:
prune: true
selfHeal: true
allowEmpty: false
31 changes: 31 additions & 0 deletions k8s/github-runners/scale-set.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: gha-runner-scale-set
namespace: apps
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
project: apps
sources:
- chart: gha-runner-scale-set
repoURL: ghcr.io/actions/actions-runner-controller-charts
targetRevision: 0.10.1
helm:
releaseName: gha-runner-scale-set
valuesObject:
githubConfigUrl: https://github.com/ttrssreal/jix
# FIXME: part of declarative secret management
githubConfigSecret: jess-gh-pat
controllerServiceAccount:
namespace: actions-runner-controller
name: actions-runner-controller-gha-rs-controller
destination:
server: "https://kubernetes.default.svc"
namespace: github-runners
syncPolicy:
automated:
prune: true
selfHeal: true
allowEmpty: false

0 comments on commit 9773cdf

Please sign in to comment.