Add applications.yaml

This commit is contained in:
Douze Bé 2022-12-15 22:59:39 +00:00
parent 72680d507f
commit dfd24b3117

45
deploy/applications.yaml Normal file
View file

@ -0,0 +1,45 @@
---
# Argo CD App definition for K8s POC demo
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: k8s-poc-demo
spec:
destination:
server: https://kubernetes.default.svc
namespace: k8s-poc
project: k8s-poc-demo
source:
path: deploy/overlays/prod
repoURL: https://git.distrilab.fr/douzeb/k8s-poc-demo.git
targetRevision: HEAD
# ---
# # Argo CD App definition for another app
# apiVersion: argoproj.io/v1alpha1
# kind: Application
# metadata:
# name: my-app
# spec:
# destination:
# server: https://kubernetes.default.svc
# namespace: my-namespace
# project: my-project
# source:
# path: deploy/overlays/prod
# repoURL: https://git.distrilab.fr/douzeb/my-project.git
# targetRevision: HEAD
# ---
# # Argo CD App definition for another app
# apiVersion: argoproj.io/v1alpha1
# kind: Application
# metadata:
# name: my-app
# spec:
# destination:
# server: https://kubernetes.default.svc
# namespace: my-namespace
# project: my-project
# source:
# path: deploy/overlays/prod
# repoURL: https://git.distrilab.fr/douzeb/my-project.git
# targetRevision: HEAD