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:
|
||||
driver: freenas-api-nfs
|
||||
sources: []
|
||||
project: fuku
|
||||
project: management
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
|
|
|
|||
|
|
@ -8,12 +8,6 @@ spec:
|
|||
destinations:
|
||||
- namespace: apps-fuku
|
||||
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/
|
||||
|
|
|
|||
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:
|
||||
- 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
|
||||
stringData:
|
||||
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