removed act runner

This commit is contained in:
Michael Thomson
2024-01-14 16:04:29 -05:00
parent 3b4567de04
commit 59da83174b
5 changed files with 0 additions and 72 deletions

View File

@@ -1,8 +0,0 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: act-runner-config
namespace: act-runner
data:
GITEA_INSTANCE_URL: "http://gitea-http.gitea.svc.cluster.local:3000"
GITEA_RUNNER_REGISTRATION_TOKEN: "PWwo9fPd5jFTdGi9LrUuWHFCXQi4xPosuQUpmQjX"

View File

@@ -1,30 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: act-runner
namespace: act-runner
spec:
selector:
matchLabels:
app: act-runner
template:
metadata:
labels:
app: act-runner
spec:
containers:
- name: act-runner
image: gitea/act_runner:nightly
envFrom:
- configMapRef:
name: act-runner-config
volumeMounts:
- name: data
mountPath: /data
securityContext:
runAsUser: 0
privileged: true
volumes:
- name: data
persistentVolumeClaim:
claimName: data

View File

@@ -1,12 +0,0 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: data
namespace: act-runner
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 2Gi

View File

@@ -1,18 +0,0 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: act-runner
namespace: flux-system
spec:
interval: 15m
path: ./act-runner
prune: true # remove any elements later removed from the above path
timeout: 2m # if not set, this defaults to interval duration, which is 1h
sourceRef:
kind: GitRepository
name: flux-system
healthChecks:
- apiVersion: apps/v1
kind: Deployment
name: act-runner
namespace: act-runner

View File

@@ -1,4 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: act-runner