mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-07 14:03:01 +07:00
Add Gitea to applications layer
This commit is contained in:
parent
eeb387a4f0
commit
5a01dba65e
7
applications/gitea/Chart.yaml
Normal file
7
applications/gitea/Chart.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: gitea
|
||||||
|
version: 4.0.3
|
||||||
|
dependencies:
|
||||||
|
- name: gitea
|
||||||
|
version: 4.0.3
|
||||||
|
repository: https://dl.gitea.io/charts/
|
5
applications/gitea/values.yaml
Normal file
5
applications/gitea/values.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
gitea:
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
hosts:
|
||||||
|
- host: git.khuedoan.com
|
@ -1,29 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: gitea
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
destination:
|
|
||||||
name: in-cluster
|
|
||||||
namespace: gitea
|
|
||||||
server: ''
|
|
||||||
source:
|
|
||||||
path: ''
|
|
||||||
repoURL: 'https://dl.gitea.io/charts/'
|
|
||||||
targetRevision: 2.2.5
|
|
||||||
chart: gitea
|
|
||||||
helm:
|
|
||||||
parameters:
|
|
||||||
- name: 'ingress.enabled'
|
|
||||||
value: 'true'
|
|
||||||
- name: 'ingress.hosts[0]'
|
|
||||||
value: git.khuedoan.com
|
|
||||||
project: default
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
28
bootstrap/root-app/applicationsets/applications.yaml
Normal file
28
bootstrap/root-app/applicationsets/applications.yaml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: applications
|
||||||
|
spec:
|
||||||
|
generators:
|
||||||
|
- git:
|
||||||
|
repoURL: https://github.com/khuedoan/homelab.git
|
||||||
|
revision: master
|
||||||
|
directories:
|
||||||
|
- path: applications/*
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
name: '{{path.basename}}'
|
||||||
|
spec:
|
||||||
|
destination:
|
||||||
|
name: in-cluster
|
||||||
|
namespace: '{{path.basename}}'
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
repoURL: https://github.com/khuedoan/homelab.git
|
||||||
|
path: '{{path}}'
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
@ -6,6 +6,6 @@ resources:
|
|||||||
- applicationsets/bootstrap.yaml
|
- applicationsets/bootstrap.yaml
|
||||||
- applicationsets/system.yaml
|
- applicationsets/system.yaml
|
||||||
- applicationsets/operations.yaml
|
- applicationsets/operations.yaml
|
||||||
# - applicationsets/applications.yaml
|
- applicationsets/applications.yaml
|
||||||
|
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
Loading…
Reference in New Issue
Block a user