21 lines
510 B
YAML
21 lines
510 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: k8-mini-app
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: https://git.algios.dev/francescoalbano/k8-mini-app.git
|
|
targetRevision: HEAD
|
|
path: k8s
|
|
# Se Gitea richiede autenticazione, aggiungi:
|
|
# username: git
|
|
# password: <vuoto, verrà usato un segreto>
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: default
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true |