Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 0 additions & 46 deletions operators/arc/dind-application.yaml

This file was deleted.

26 changes: 0 additions & 26 deletions operators/arc/github-token-secret.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions operators/arc/ksops-arc-secrets.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions operators/arc/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,3 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- arcsystem.yaml
- namespace.yaml
- dind-application.yaml
generators:
- ksops-arc-secrets.yaml
6 changes: 0 additions & 6 deletions operators/arc/namespace.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions workloads/apps/arc-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,6 @@ spec:
targetRevision: main
destination:
server: https://kubernetes.default.svc
# Ignore fields that OpenShift mutates on ImageStreams after import
ignoreDifferences:
- group: image.openshift.io
kind: ImageStream
jqPathExpressions:
- .spec.lookupPolicy
- .spec.tags[].generation
- .spec.tags[].importPolicy.importMode
- .spec.tags[].referencePolicy
- .spec.tags[].annotations
syncPolicy:
automated:
prune: true
Expand Down
56 changes: 56 additions & 0 deletions workloads/arc/arc-tf-application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# GitHub Actions runner scale set running the tfroot-runner image.
# Jobs labeled `runs-on: arc-tf` execute directly in this pod — no nested
# `container:` block, no docker-in-docker. Replaces the legacy summerwind
# arc-dind controller and the arc-runners-with-dind-sidecar pattern.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: arc-tf
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "1"
spec:
destination:
namespace: arc-runners
server: https://kubernetes.default.svc
project: default
source:
chart: gha-runner-scale-set
repoURL: ghcr.io/actions/actions-runner-controller-charts
targetRevision: 0.13.1
helm:
releaseName: arc-tf
valuesObject:
runnerScaleSetName: arc-tf
controllerServiceAccount:
name: arc-gha-rs-controller
namespace: arc-systems
githubConfigSecret: arc-runner-github-token
githubConfigUrl: https://github.com/makeitworkcloud
maxRunners: 3
minRunners: 0
template:
spec:
containers:
- name: runner
image: ghcr.io/makeitworkcloud/tfroot-runner:latest
command: ["/home/runner/run.sh"]
# The gha-runner-scale-set controller mutates listener resources at runtime
# (hash annotations, autoscaling spec). Ignore those drifts.
ignoreDifferences:
- group: actions.github.com
kind: AutoscalingListener
jsonPointers:
- /metadata/annotations
- /spec
- group: actions.github.com
kind: AutoscalingRunnerSet
jsonPointers:
- /metadata/annotations
- /spec/template
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- RespectIgnoreDifferences=true
9 changes: 0 additions & 9 deletions workloads/arc/docker-daemon-config.yaml

This file was deleted.

5 changes: 1 addition & 4 deletions workloads/arc/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- registry.yaml
- namespace.yaml
- docker-daemon-config.yaml
- runner-application.yaml
- rbac.yaml
- arc-tf-application.yaml
generators:
- ksops-arc-secrets.yaml
15 changes: 0 additions & 15 deletions workloads/arc/rbac.yaml

This file was deleted.

144 changes: 0 additions & 144 deletions workloads/arc/registry.yaml

This file was deleted.

Loading
Loading