the existing infrastructure
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- manifests.yaml
|
||||
@@ -0,0 +1,22 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: shop-web
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://git.example.com/shop/web.git
|
||||
targetRevision: HEAD
|
||||
path: deploy/prod
|
||||
destination:
|
||||
namespace: shop
|
||||
server: https://kubernetes.default.svc
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,5 @@
|
||||
name: shop-web
|
||||
owner: alice
|
||||
repoURL: https://git.example.com/shop/web.git
|
||||
path: deploy/prod
|
||||
namespace: shop
|
||||
Reference in New Issue
Block a user