feat(gitops): split environments and image version
This commit is contained in:
1 parent
b70b40ba74
commit
0c46951446
23 files changed
+273
-33
No files matched your search
@@ -8,13 +8,13 @@ spec:
|
||||
source:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: master
|
||||
path: applications
|
||||
directory:
|
||||
recurse: true
|
||||
path: applications/demo
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-dev-root
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: master
|
||||
path: applications/dev
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
Reference in new issue
Block a user