From 26d224c58cf4fa4348023f10e60facd30eab7a44 Mon Sep 17 00:00:00 2001 From: Jess Date: Sun, 22 Dec 2024 19:45:20 +1300 Subject: [PATCH] k8s/arc: init --- .../actions-runner-controller.yaml | 21 +++++++++++++++++++ k8s/github-runners/namespace.yaml | 4 ++++ 2 files changed, 25 insertions(+) create mode 100644 k8s/github-runners/actions-runner-controller.yaml create mode 100644 k8s/github-runners/namespace.yaml diff --git a/k8s/github-runners/actions-runner-controller.yaml b/k8s/github-runners/actions-runner-controller.yaml new file mode 100644 index 0000000..5c21226 --- /dev/null +++ b/k8s/github-runners/actions-runner-controller.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: gha-runner-scale-set-controller + namespace: apps +spec: + project: apps + source: + chart: gha-runner-scale-set-controller + repoURL: https://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: + automated: + prune: true + selfHeal: true + allowEmpty: false diff --git a/k8s/github-runners/namespace.yaml b/k8s/github-runners/namespace.yaml new file mode 100644 index 0000000..26f96b2 --- /dev/null +++ b/k8s/github-runners/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: actions-runner-controller