Skip to content

Commit

Permalink
feat(actions-runner-controller): configure jazzlyn/gh-actions-demo
Browse files Browse the repository at this point in the history
  • Loading branch information
tyriis committed Sep 19, 2023
1 parent 5ceabc4 commit 11cfa3f
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 246 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
# 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: jazzlyn-gh-actions-demo
spec:
interval: 30m
chart:
spec:
chart: gha-runner-scale-set
version: 0.6.0
sourceRef:
kind: HelmRepository
name: actions-runner-controller-charts
namespace: flux-system
interval: 30m
values:
runnerScaleSetName: arc-runner-set-terraform-github
githubConfigUrl: https://github.com/jazzlyn/gh-actions-demo
minRunners: 0
maxRunners: 3
containerMode:
type: "dind"
valuesFrom:
- kind: Secret
name: jazzlyn-runners
valuesKey: github_app_id
targetPath: githubConfigSecret.github_app_id
- kind: Secret
name: jazzlyn-runners
valuesKey: github_app_installation_id
targetPath: githubConfigSecret.github_app_installation_id
- kind: Secret
name: jazzlyn-runners
valuesKey: github_app_private_key
targetPath: githubConfigSecret.github_app_private_key
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: github
resources:
- jazzlyn/secrets.sops.yaml
- jazzlyn/gh-actions-demo/helm-release.yaml
- organization/secrets.sops.yaml
- organization/helm-release.yaml
- tyriis/secrets.sops.yaml
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,10 @@ spec:
values:
runnerScaleSetName: arc-runner-set-home-ops
githubConfigUrl: https://github.com/tyriis/home-ops
minRunners: 1
maxRunners: 3
minRunners: 0
maxRunners: 0
containerMode:
type: "dind"
template:
spec:
containers:
- name: runner
image: ghcr.io/actions/actions-runner:2.309.0@sha256:689735691f58a631efd20dbf6a0c841ea182d69a38ca0e3984362a14a853d2ce
valuesFrom:
- kind: Secret
name: tyriis-runners
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,9 @@ spec:
runnerScaleSetName: arc-runner-set-terraform-github
githubConfigUrl: https://github.com/tyriis/terraform-github
minRunners: 1
maxRunners: 3
maxRunners: 0
containerMode:
type: "dind"
# template:
# spec:
# containers:
# - name: runner
# image: ghcr.io/actions/actions-runner:2.309.0@sha256:689735691f58a631efd20dbf6a0c841ea182d69a38ca0e3984362a14a853d2ce
valuesFrom:
- kind: Secret
name: tyriis-runners
Expand Down

0 comments on commit 11cfa3f

Please sign in to comment.