ci: add gitea-runner
This commit is contained in:
parent
d4e35a4a03
commit
944543bfa2
5 changed files with 44 additions and 0 deletions
30
infrastructure/gitea-runner/helmrelease.yaml
Normal file
30
infrastructure/gitea-runner/helmrelease.yaml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: gitea-act-runner
|
||||
namespace: gitea
|
||||
spec:
|
||||
releaseName: gitea-act-runner
|
||||
interval: 10m
|
||||
chart:
|
||||
spec:
|
||||
chart: gitea-act-runner
|
||||
version: "0.5.2"
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: gitea-charts
|
||||
namespace: flux-system
|
||||
values:
|
||||
provisioning:
|
||||
enabled: true
|
||||
# Gitea-URL wie im Cluster erreichbar (interner Service-Name!)
|
||||
serverURL: "http://gitea-http.gitea.svc.cluster.local:3000"
|
||||
# Admin-Zugangsdaten wie oben im Gitea-Chart gesetzt
|
||||
adminUser: "giteaadmin"
|
||||
# adminPassword: "changeme"
|
||||
adminPassword: "F3l1x-230113?"
|
||||
rbac:
|
||||
create: true
|
||||
# Optional: Runner-Name, falls du mehrere Runner willst
|
||||
runner:
|
||||
labels: ["k3s", "fluxcd"]
|
||||
8
infrastructure/gitea-runner/helmrepository.yaml
Normal file
8
infrastructure/gitea-runner/helmrepository.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: gitea-charts
|
||||
namespace: flux-system
|
||||
spec:
|
||||
url: https://dl.gitea.io/charts/
|
||||
interval: 1h
|
||||
5
infrastructure/gitea-runner/kustomization.yaml
Normal file
5
infrastructure/gitea-runner/kustomization.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helmrepository.yaml
|
||||
- helmrelease.yaml
|
||||
0
infrastructure/gitea-runner/namespace.yaml
Normal file
0
infrastructure/gitea-runner/namespace.yaml
Normal file
|
|
@ -4,5 +4,6 @@ resources:
|
|||
- monitoring/
|
||||
- longhorn/
|
||||
- gitea/
|
||||
- gitea-runner/
|
||||
# - sonarqube/
|
||||
- cnpg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue