mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
* ApplicationSet Go Template Signed-off-by: Geoffrey Muselli <[email protected]> * go template improvements Signed-off-by: CI <[email protected]> * update go mod Signed-off-by: CI <[email protected]> * fix tests Signed-off-by: CI <[email protected]> * fix tests Signed-off-by: CI <[email protected]> * fix tests Signed-off-by: CI <[email protected]> * Add tests for error handling Signed-off-by: Geoffrey Muselli <[email protected]> Co-authored-by: CI <[email protected]>
25 lines
547 B
YAML
25 lines
547 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: guestbook
|
|
spec:
|
|
generators:
|
|
- scmProvider:
|
|
github:
|
|
organization: argoproj
|
|
cloneProtocol: https
|
|
filters:
|
|
- repositoryMatch: example-apps
|
|
template:
|
|
metadata:
|
|
name: '{{ repository }}-guestbook'
|
|
spec:
|
|
project: "default"
|
|
source:
|
|
repoURL: '{{ url }}'
|
|
targetRevision: '{{ branch }}'
|
|
path: guestbook
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: guestbook
|