Initial commit: GitOps directory structure and App of Apps

This commit is contained in:
Will0253 2026-02-17 21:21:25 +08:00
parent 55e6f45b7e
commit 0011c61c64
17 changed files with 51 additions and 2 deletions

View File

@ -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
apps/.gitkeep Normal file
View File

View File

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

View File

0
platform/harbor/.gitkeep Normal file
View File

View File

View File

View File

View File

View File

View File

0
platform/vault/.gitkeep Normal file
View File

0
platform/velero/.gitkeep Normal file
View File

0
security/falco/.gitkeep Normal file
View File

View File

View File

0
security/trivy/.gitkeep Normal file
View File