Browse Source

chore: adding base file to branch

pull/115/head
Christopher Quiles 4 years ago
parent
commit
4f6f589822
  1. 26
      base-apps/applicationset.yaml
  2. 17
      base-apps/appset.yaml
  3. 8
      base-apps/kustomization.yaml

26
base-apps/applicationset.yaml

@ -0,0 +1,26 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: test-appset
namespace: argocd
spec:
generators:
- list:
elements:
# v0.2.0+ form - does not require cluster/URL keys (but are still supported)
- overlay: qa
gitRepo: git@github.com:evercast-chris/argocd-example-apps.git
appPath: overlays
appBranch: master
cluster: test2
url: https://kubernetes.default.svc
- overlay: stage
gitRepo: git@github.com:evercast-chris/argocd-example-apps.git
appPath: overlays
appBranch: master
cluster: test1
url: https://kubernetes.default.svc
template:
metadata:
name: 'demo-{{cluster}}'

17
base-apps/appset.yaml

@ -0,0 +1,17 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: applicationset
namespace: argocd
spec:
project: default
syncPolicy:
automated:
prune: true
selfHeal: true
source:
repoURL: git@github.com:evercast-chris/argocd-example-apps.git
targetRevision: master
path: applicationsets
destination:
server: https://kubernetes.default.svc

8
base-apps/kustomization.yaml

@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: argocd
resources:
- appset.yaml
- applicationset.yaml
Loading…
Cancel
Save