feat(k8s/services/argo): add argo app of apps

This commit is contained in:
cătălin 2024-01-05 15:52:37 +01:00
commit 22d810bcc6
Signed by: catalin
GPG key ID: 0178DF42F43E5FD2
6 changed files with 48 additions and 7 deletions

17
k8s/argo-apps/argo.yaml Normal file
View 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

View file

@ -22,7 +22,7 @@ spec:
config:
driver: freenas-api-nfs
sources: []
project: fuku
project: management
syncPolicy:
automated:
prune: false

View file

@ -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/

View 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/

View file

@ -11,3 +11,4 @@ spec:
sourceRepos:
- https://gitlab.com/fukurokuju/k3s/services.git
- https://git.roboces.dev/catalin/fukuops.git

View file

@ -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