Initial commit: GitOps directory structure and App of Apps
This commit is contained in:
parent
55e6f45b7e
commit
0011c61c64
33
README.md
33
README.md
|
|
@ -1,3 +1,32 @@
|
|||
# k8s-gitops
|
||||
# K8s GitOps Configuration Repository
|
||||
|
||||
Kubernetes GitOps Configuration Repository
|
||||
This repository contains Kubernetes GitOps configurations managed by Argo CD.
|
||||
|
||||
## Directory Structure
|
||||
|
||||
```
|
||||
k8s-gitops/
|
||||
├── bootstrap/ # Argo CD App of Apps
|
||||
├── infrastructure/ # Infrastructure components
|
||||
├── platform/ # Platform services
|
||||
├── security/ # Security components
|
||||
└── apps/ # Business applications
|
||||
```
|
||||
|
||||
## Components
|
||||
|
||||
| Category | Component | Status |
|
||||
|----------|-----------|--------|
|
||||
| Infrastructure | Argo CD | Active |
|
||||
| Platform | Keycloak | Pending |
|
||||
| Platform | Rancher | Pending |
|
||||
| Platform | Monitoring | Pending |
|
||||
| Platform | Logging | Pending |
|
||||
| Platform | Tracing | Pending |
|
||||
| Platform | Harbor | Pending |
|
||||
| Platform | Vault | Pending |
|
||||
| Security | Falco | Pending |
|
||||
| Security | Kyverno | Pending |
|
||||
| Security | Trivy | Pending |
|
||||
| Security | kube-bench | Pending |
|
||||
| Platform | Velero | Pending |
|
||||
|
|
|
|||
|
|
@ -0,0 +1,20 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: apps
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitea.cloud.fbc.org.cn/ops/k8s-gitops.git
|
||||
targetRevision: HEAD
|
||||
path: apps
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
Loading…
Reference in New Issue