This is an automated email from the ASF dual-hosted git repository.

shahar1 pushed a commit to branch gha-arc-rebase
in repository https://gitbox.apache.org/repos/asf/airflow-ci-infra.git

commit e9c7700743a0631f28a5a819cace5114aad0b701
Author: Hussein Awala <[email protected]>
AuthorDate: Thu Jul 20 21:13:28 2023 +0200

    create ci namespace and install ARC helm release
---
 helm/cluster-config/templates/namespaces/ci.yaml |  6 ++++++
 helm/helmfile.yaml                               |  9 +++++++++
 helm/values/actions-runner-controller.yaml       | 10 ++++++++++
 3 files changed, 25 insertions(+)

diff --git a/helm/cluster-config/templates/namespaces/ci.yaml 
b/helm/cluster-config/templates/namespaces/ci.yaml
new file mode 100644
index 0000000..66fd39f
--- /dev/null
+++ b/helm/cluster-config/templates/namespaces/ci.yaml
@@ -0,0 +1,6 @@
+apiVersion: v1
+kind: Namespace
+metadata:
+  name: ci
+  labels:
+    {{- include "chart.labels" . | nindent 4 }}
diff --git a/helm/helmfile.yaml b/helm/helmfile.yaml
index 3234ad5..b053878 100644
--- a/helm/helmfile.yaml
+++ b/helm/helmfile.yaml
@@ -2,6 +2,8 @@
 repositories:
   - name: jetstack
     url: https://charts.jetstack.io
+  - name: actions-runner-controller
+    url: https://actions-runner-controller.github.io/actions-runner-controller
 
 releases:
   - name: cluster-config
@@ -15,3 +17,10 @@ releases:
     version: v1.12.2
     values:
       - ./values/cert-manager.yaml
+
+  - name: actions-runner-controller
+    chart: actions-runner-controller/actions-runner-controller
+    namespace: ci
+    version: 0.23.3
+    values:
+      - ./values/actions-runner-controller.yaml
\ No newline at end of file
diff --git a/helm/values/actions-runner-controller.yaml 
b/helm/values/actions-runner-controller.yaml
new file mode 100644
index 0000000..86f5da4
--- /dev/null
+++ b/helm/values/actions-runner-controller.yaml
@@ -0,0 +1,10 @@
+replicaCount: 1
+
+labels:
+  type: ci
+  app: actions-runner-controller
+
+syncPeriod: 1m
+
+nodeSelector:
+  node-type: default
\ No newline at end of file

Reply via email to