Reorganize ArgoCD application structure
This commit is contained in:
parent
537fafc2b3
commit
9acfeb7d48
16 changed files with 0 additions and 0 deletions
0
argocd-apps/applications/customers/.gitkeep
Normal file
0
argocd-apps/applications/customers/.gitkeep
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: external-secrets-config
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: platform
|
||||
source:
|
||||
repoURL: https://www.symcrest.com/internal/dev/git/symcrest/k8s-platform.git
|
||||
targetRevision: main
|
||||
path: infrastructure/external-secrets
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: external-secrets
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=false
|
||||
18
argocd-apps/applications/infrastructure/longhorn.yaml
Normal file
18
argocd-apps/applications/infrastructure/longhorn.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: longhorn
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: platform
|
||||
source:
|
||||
repoURL: https://www.symcrest.com/internal/dev/git/symcrest/k8s-platform.git
|
||||
targetRevision: main
|
||||
path: rendered/longhorn
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: longhorn-system
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
20
argocd-apps/applications/infrastructure/namespaces.yaml
Normal file
20
argocd-apps/applications/infrastructure/namespaces.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: namespaces
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: platform
|
||||
source:
|
||||
repoURL: https://www.symcrest.com/internal/dev/git/symcrest/k8s-platform.git
|
||||
targetRevision: main
|
||||
path: infrastructure/namespaces
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: default
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=false
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: network-policies
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: platform
|
||||
source:
|
||||
repoURL: https://www.symcrest.com/internal/dev/git/symcrest/k8s-platform.git
|
||||
targetRevision: main
|
||||
path: infrastructure/network-policies
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: apps
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=false
|
||||
18
argocd-apps/applications/management/argocd.yaml
Normal file
18
argocd-apps/applications/management/argocd.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: argocd
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: platform
|
||||
source:
|
||||
repoURL: https://www.symcrest.com/internal/dev/git/symcrest/k8s-platform.git
|
||||
targetRevision: main
|
||||
path: rendered/argocd
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
18
argocd-apps/applications/management/forgejo.yaml
Normal file
18
argocd-apps/applications/management/forgejo.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: forgejo
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: platform
|
||||
source:
|
||||
repoURL: https://www.symcrest.com/internal/dev/git/symcrest/k8s-platform.git
|
||||
targetRevision: main
|
||||
path: rendered/forgejo
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: forgejo
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
18
argocd-apps/applications/management/pgadmin.yaml
Normal file
18
argocd-apps/applications/management/pgadmin.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: pgadmin
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: platform
|
||||
source:
|
||||
repoURL: https://www.symcrest.com/internal/dev/git/symcrest/k8s-platform.git
|
||||
targetRevision: main
|
||||
path: rendered/pgadmin
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: pgadmin
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: platform-minio
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: platform
|
||||
source:
|
||||
repoURL: https://www.symcrest.com/internal/dev/git/symcrest/k8s-platform.git
|
||||
targetRevision: main
|
||||
path: rendered/platform-minio
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: platform-services
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: platform-postgres
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: platform
|
||||
source:
|
||||
repoURL: https://www.symcrest.com/internal/dev/git/symcrest/k8s-platform.git
|
||||
targetRevision: main
|
||||
path: rendered/platform-postgres
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: database
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: platform-rabbitmq
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: platform
|
||||
source:
|
||||
repoURL: https://www.symcrest.com/internal/dev/git/symcrest/k8s-platform.git
|
||||
targetRevision: main
|
||||
path: rendered/platform-rabbitmq
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: platform-services
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: platform-redis
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: platform
|
||||
source:
|
||||
repoURL: https://www.symcrest.com/internal/dev/git/symcrest/k8s-platform.git
|
||||
targetRevision: main
|
||||
path: rendered/platform-redis
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: platform-services
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
18
argocd-apps/applications/symcrest/symcrest-web.yaml
Normal file
18
argocd-apps/applications/symcrest/symcrest-web.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: symcrest-web
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: platform
|
||||
source:
|
||||
repoURL: https://www.symcrest.com/internal/dev/git/symcrest/k8s-platform.git
|
||||
targetRevision: main
|
||||
path: rendered/symcrest-web
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: apps
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue