mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
* added topic (tag) filter for Gitlab SCM Signed-off-by: Prune <[email protected]> * corrected few comments Signed-off-by: Prune <[email protected]> * removed latest tag references Signed-off-by: Prune <[email protected]> --------- Signed-off-by: Prune <[email protected]>
27 lines
609 B
YAML
27 lines
609 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: guestbook
|
|
spec:
|
|
generators:
|
|
- scmProvider:
|
|
gitlab:
|
|
api: https://gitlab.com
|
|
group: test-argocd-proton
|
|
includeSubgroups: true
|
|
cloneProtocol: https
|
|
filters:
|
|
- repositoryMatch: test-app
|
|
template:
|
|
metadata:
|
|
name: '{{ repository }}-guestbook'
|
|
spec:
|
|
project: "default"
|
|
source:
|
|
repoURL: '{{ url }}'
|
|
targetRevision: '{{ branch }}'
|
|
path: guestbook
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: guestbook
|