Skip to content

Commit bddc602

Browse files
Commit Inicial
1 parent dd923b4 commit bddc602

File tree

2 files changed

+22382
-0
lines changed

2 files changed

+22382
-0
lines changed

argo-ha/argocd-application.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: guestbook
5+
namespace: argocd
6+
spec:
7+
project: default
8+
source:
9+
repoURL: https://github.com/fabricioveronez/argocd-setup.git
10+
targetRevision: HEAD
11+
path: argo-ha
12+
destination:
13+
server: https://kubernetes.default.svc
14+
namespace: argocd
15+
syncPolicy: # Politicas de sincronização
16+
syncOptions:
17+
- CreateNamespace=true # Cria o namespace, caso não exista
18+
automated: # Configurações referente a automação da sincronização
19+
selfHeal: true # Aplica as configurações caso tenha alteração no repositório a cada 3 min
20+
prune: true # Remove elementos na sincronização

0 commit comments

Comments
 (0)