feat: add v0.1 gitops ci templates
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: agentrun-g14-v01
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: agentrun-v01
|
||||
source:
|
||||
repoURL: git@github.com:pikasTech/agentrun.git
|
||||
targetRevision: v0.1-gitops
|
||||
path: deploy/gitops/g14/runtime-v01
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: agentrun-v01
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ApplyOutOfSyncOnly=true
|
||||
@@ -0,0 +1,18 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: AppProject
|
||||
metadata:
|
||||
name: agentrun-v01
|
||||
namespace: argocd
|
||||
spec:
|
||||
description: AgentRun v0.1 GitOps lane
|
||||
sourceRepos:
|
||||
- git@github.com:pikasTech/agentrun.git
|
||||
destinations:
|
||||
- server: https://kubernetes.default.svc
|
||||
namespace: agentrun-v01
|
||||
clusterResourceWhitelist:
|
||||
- group: ""
|
||||
kind: Namespace
|
||||
namespaceResourceWhitelist:
|
||||
- group: "*"
|
||||
kind: "*"
|
||||
Reference in New Issue
Block a user