Create runner deployment with: - ServiceAccount and RBAC for runner pod - ConfigMap for runner configuration - Deployment using code.forgejo.org/forgejo/runner:4.0.1 - Argo CD application for automated deployment Note: Runner requires a sealed secret with registration token. See apps/forgejo-runner/README.md for setup instructions. Part of DEV-334 CI/CD workflow implementation. Co-Authored-By: Paperclip <noreply@paperclip.ing>
18 lines
429 B
YAML
18 lines
429 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: forgejo-runner
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: git@forgejo.forgejo.svc.cluster.local:basicstack/stack.basicstack.de.git
|
|
targetRevision: main
|
|
path: apps/forgejo-runner
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: forgejo
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|