From 379c6f0c0d7a219b7c3e6f6713e218b14a5687be Mon Sep 17 00:00:00 2001 From: Robert Kielty Date: Mon, 13 Jan 2025 08:04:27 +0000 Subject: [PATCH] deploys gh arc via argo app Signed-off-by: Robert Kielty --- ci/cluster/oci/README.MD | 0 ci/cluster/oci/arc/arc.yaml | 28 ++++++++++++++++++++++++++++ ci/cluster/oci/arc/values.yaml | 4 ++++ 3 files changed, 32 insertions(+) delete mode 100644 ci/cluster/oci/README.MD create mode 100644 ci/cluster/oci/arc/arc.yaml create mode 100644 ci/cluster/oci/arc/values.yaml diff --git a/ci/cluster/oci/README.MD b/ci/cluster/oci/README.MD deleted file mode 100644 index e69de29..0000000 diff --git a/ci/cluster/oci/arc/arc.yaml b/ci/cluster/oci/arc/arc.yaml new file mode 100644 index 0000000..174a08d --- /dev/null +++ b/ci/cluster/oci/arc/arc.yaml @@ -0,0 +1,28 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: github-arc + namespace: argocd +spec: + project: default + destination: + server: "https://kubernetes.default.svc" + namespace: arc-systems + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true + - ServerSideApply=true + sources: + - repoURL: ghcr.io/actions/actions-runner-controller-charts + chart: gha-runner-scale-set-controller + targetRevision: 0.10.1 + helm: + releaseName: cncf-gha-controller + valueFiles: + - $values/ci/cluster/oci/arc/values.yaml + - ref: values + repoURL: https://github.com/cncf/automation.git + targetRevision: main diff --git a/ci/cluster/oci/arc/values.yaml b/ci/cluster/oci/arc/values.yaml new file mode 100644 index 0000000..70de142 --- /dev/null +++ b/ci/cluster/oci/arc/values.yaml @@ -0,0 +1,4 @@ +metrics: + controllerManagerAddr: ":8080" + listenerAddr: ":8080" + listenerEndpoint: "/metrics"