ci: move app definitions to apps folder
This commit is contained in:
parent
7bb433e1f0
commit
db0593bbe7
18 changed files with 36 additions and 3 deletions
30
apps/gitea-runner/helmrelease.yaml
Normal file
30
apps/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
apps/gitea-runner/helmrepository.yaml
Normal file
8
apps/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
apps/gitea-runner/kustomization.yaml
Normal file
5
apps/gitea-runner/kustomization.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helmrepository.yaml
|
||||
- helmrelease.yaml
|
||||
0
apps/gitea-runner/namespace.yaml
Normal file
0
apps/gitea-runner/namespace.yaml
Normal file
65
apps/gitea/helmrelease.yaml
Normal file
65
apps/gitea/helmrelease.yaml
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: gitea
|
||||
namespace: gitea
|
||||
spec:
|
||||
releaseName: gitea
|
||||
interval: 10m
|
||||
chart:
|
||||
spec:
|
||||
chart: gitea
|
||||
version: "11.0.1"
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: gitea-charts
|
||||
namespace: flux-system
|
||||
values:
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClass: local-path
|
||||
size: 5Gi
|
||||
ingress:
|
||||
enabled: true
|
||||
className: traefik
|
||||
hosts:
|
||||
- host: gitea.local
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
service:
|
||||
http:
|
||||
type: ClusterIP
|
||||
port: 3000
|
||||
ssh:
|
||||
type: ClusterIP
|
||||
port: 22
|
||||
gitea:
|
||||
admin:
|
||||
username: giteaadmin
|
||||
password: changeme
|
||||
email: patrykhegenberg@gmail.com
|
||||
metrics:
|
||||
enabled: true
|
||||
actions:
|
||||
enabled: true
|
||||
provisioning:
|
||||
enabled: true
|
||||
statefulset:
|
||||
actRunner:
|
||||
repository: gitea/act_runner
|
||||
tag: 0.2.11
|
||||
pullPolicy: IfNotPresent
|
||||
dind:
|
||||
repository: docker
|
||||
tag: 25.0.2-dind
|
||||
pullPolicy: IfNotPresent
|
||||
config:
|
||||
server:
|
||||
ROOT_URL: "http://gitea.local/"
|
||||
actions:
|
||||
ENABLED: true
|
||||
metrics:
|
||||
ENABLED: true
|
||||
repository:
|
||||
DEFAULT_BRANCH: main
|
||||
8
apps/gitea/helmrepository.yaml
Normal file
8
apps/gitea/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: 10m
|
||||
6
apps/gitea/kustomization.yaml
Normal file
6
apps/gitea/kustomization.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- helmrepository.yaml
|
||||
- helmrelease.yaml
|
||||
4
apps/gitea/namespace.yaml
Normal file
4
apps/gitea/namespace.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: gitea
|
||||
19
apps/home-assitant/helmrelease.yaml
Normal file
19
apps/home-assitant/helmrelease.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: home-assistant
|
||||
namespace: home-assistant
|
||||
spec:
|
||||
interval: 5m
|
||||
releaseName: home-assistant
|
||||
chart:
|
||||
spec:
|
||||
chart: home-assistant
|
||||
version: "0.3.2"
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: home-assistant
|
||||
namespace: flux-system
|
||||
values:
|
||||
service:
|
||||
type: ClusterIP
|
||||
8
apps/home-assitant/helmrepository.yaml
Normal file
8
apps/home-assitant/helmrepository.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: home-assistant
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1h0m0s
|
||||
url: http://pajikos.github.io/home-assistant-helm-chart
|
||||
0
apps/home-assitant/kustomization.yaml
Normal file
0
apps/home-assitant/kustomization.yaml
Normal file
4
apps/home-assitant/namespace.yaml
Normal file
4
apps/home-assitant/namespace.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: home-assistant
|
||||
5
apps/kustomization.yaml
Normal file
5
apps/kustomization.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- gitea/
|
||||
# - sonarqube/
|
||||
35
apps/sonarqube/helmrelease.yaml
Normal file
35
apps/sonarqube/helmrelease.yaml
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: sonarqube
|
||||
namespace: sonarqube
|
||||
spec:
|
||||
interval: 10m
|
||||
chart:
|
||||
spec:
|
||||
chart: sonarqube
|
||||
version: "2025.2.0"
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: sonarqube
|
||||
namespace: flux-system
|
||||
values:
|
||||
community:
|
||||
enabled: true
|
||||
monitoringPasscode: "supersecret123"
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClass: longhorn
|
||||
size: 5Gi
|
||||
postgresql:
|
||||
enabled: true
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClass: longhorn
|
||||
size: 2Gi
|
||||
ingress:
|
||||
enabled: true
|
||||
hosts:
|
||||
- name: sonarqube.local
|
||||
path: /
|
||||
ingressClassName: traefik
|
||||
8
apps/sonarqube/helmrepository.yaml
Normal file
8
apps/sonarqube/helmrepository.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: sonarqube
|
||||
namespace: flux-system
|
||||
spec:
|
||||
url: https://SonarSource.github.io/helm-chart-sonarqube
|
||||
interval: 1h
|
||||
6
apps/sonarqube/kustomization.yaml
Normal file
6
apps/sonarqube/kustomization.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- helmrepository.yaml
|
||||
- helmrelease.yaml
|
||||
4
apps/sonarqube/namespace.yaml
Normal file
4
apps/sonarqube/namespace.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: sonarqube
|
||||
Loading…
Add table
Add a link
Reference in a new issue