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]>
23 lines
705 B
YAML
23 lines
705 B
YAML
# This is an example of a typical ApplicationSet which uses the cluster generator.
|
|
# An ApplicationSet is comprised with two stanzas:
|
|
# - spec.generator - producer of a list of values supplied as arguments to an app template
|
|
# - spec.template - an application template, which has been parameterized
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: guestbook
|
|
spec:
|
|
generators:
|
|
- clusters: {}
|
|
template:
|
|
metadata:
|
|
name: '{{name}}-guestbook'
|
|
spec:
|
|
source:
|
|
repoURL: https://github.com/infra-team/cluster-deployments.git
|
|
targetRevision: HEAD
|
|
chart: guestbook
|
|
destination:
|
|
server: '{{server}}'
|
|
namespace: guestbook
|