Files
deploy/applicationset/examples/scm-provider-generator/scm-provider-example-fasttemplate-gitlab.yaml
Prune Sebastien THOMASandGitHub cc0854db65 feat(appset): added topic filter for Gitlab SCM (#14965)
* 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]>
2023-08-20 18:18:52 -04:00

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