22 lines
607 B
YAML
22 lines
607 B
YAML
# Example workload Application. Copy per app; point `path` (or chart) at
|
|
# your app manifests (also stored in Forgejo). Replace repoURL/server.
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: example-app
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: http://localhost:3000/forgejoadmin/gitops-apps.git
|
|
targetRevision: main
|
|
path: clusters/default/example-app
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: example-app
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|