feat(k8s/services/argo): add argo app of apps
This commit is contained in:
parent
f061e8238c
commit
22d810bcc6
6 changed files with 48 additions and 7 deletions
17
k8s/argo-apps/argo.yaml
Normal file
17
k8s/argo-apps/argo.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: argo-managed-argo
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
destination:
|
||||||
|
name: ''
|
||||||
|
namespace: 'argocd'
|
||||||
|
server: 'https://kubernetes.default.svc'
|
||||||
|
source:
|
||||||
|
repoURL: https://git.roboces.dev/catalin/fukuops.git
|
||||||
|
path: k8s/services/argo
|
||||||
|
targetRevision: main
|
||||||
|
sources: []
|
||||||
|
project: management
|
||||||
|
|
||||||
|
|
@ -22,7 +22,7 @@ spec:
|
||||||
config:
|
config:
|
||||||
driver: freenas-api-nfs
|
driver: freenas-api-nfs
|
||||||
sources: []
|
sources: []
|
||||||
project: fuku
|
project: management
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: false
|
prune: false
|
||||||
|
|
|
||||||
|
|
@ -8,12 +8,6 @@ spec:
|
||||||
destinations:
|
destinations:
|
||||||
- namespace: apps-fuku
|
- namespace: apps-fuku
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
- namespace: democratic-csi
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
clusterResourceWhitelist:
|
|
||||||
- group: "*"
|
|
||||||
kind: "*"
|
|
||||||
sourceRepos:
|
sourceRepos:
|
||||||
- https://gitlab.com/fukurokuju/k3s/services.git
|
- https://gitlab.com/fukurokuju/k3s/services.git
|
||||||
- https://git.roboces.dev/catalin/fukuops.git
|
- https://git.roboces.dev/catalin/fukuops.git
|
||||||
- https://democratic-csi.github.io/charts/
|
|
||||||
|
|
|
||||||
19
k8s/services/argo/project-management.yaml
Normal file
19
k8s/services/argo/project-management.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: AppProject
|
||||||
|
metadata:
|
||||||
|
namespace: argocd
|
||||||
|
name: management
|
||||||
|
spec:
|
||||||
|
destinations:
|
||||||
|
- namespace: argocd
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
- namespace: democratic-csi
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
clusterResourceWhitelist:
|
||||||
|
- group: "*"
|
||||||
|
kind: "*"
|
||||||
|
sourceRepos:
|
||||||
|
- https://gitlab.com/fukurokuju/k3s/services.git
|
||||||
|
- https://git.roboces.dev/catalin/fukuops.git
|
||||||
|
- https://democratic-csi.github.io/charts/
|
||||||
|
|
@ -11,3 +11,4 @@ spec:
|
||||||
|
|
||||||
sourceRepos:
|
sourceRepos:
|
||||||
- https://gitlab.com/fukurokuju/k3s/services.git
|
- https://gitlab.com/fukurokuju/k3s/services.git
|
||||||
|
- https://git.roboces.dev/catalin/fukuops.git
|
||||||
|
|
|
||||||
|
|
@ -8,3 +8,13 @@ metadata:
|
||||||
argocd.argoproj.io/secret-type: repository
|
argocd.argoproj.io/secret-type: repository
|
||||||
stringData:
|
stringData:
|
||||||
url: https://gitlab.com/fukurokuju/k3s/services.git
|
url: https://gitlab.com/fukurokuju/k3s/services.git
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: fukuops-repo
|
||||||
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
argocd.argoproj.io/secret-type: repository
|
||||||
|
stringData:
|
||||||
|
url: https://git.roboces.dev/catalin/fukuops.git
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue