feat: 开发测试接口

This commit is contained in:
plf
2026-05-01 09:29:08 +08:00
parent 0994da75fe
commit 5828b6c268
13 changed files with 303 additions and 0 deletions

20
argocd/application.yaml Normal file
View File

@@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: fastapi-demo
namespace: argocd
spec:
project: default
source:
repoURL: https://git.plfai.cn/root/fastapi-demo.git
targetRevision: main
path: k8s
destination:
server: https://kubernetes.default.svc
namespace: fastapi-demo
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true