Browse Source

Adds app-of-apps (#22)

pull/23/head
Alex Collins 6 years ago
committed by GitHub
parent
commit
36363233d0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      README.md
  2. 5
      applications/Chart.yaml
  3. 17
      applications/templates/guestbook.yaml
  4. 17
      applications/templates/helm-dependency.yaml
  5. 17
      applications/templates/helm-guestbook.yaml
  6. 17
      applications/templates/kustomize-guestbook.yaml
  7. 5
      applications/values.yaml

1
README.md

@ -16,3 +16,4 @@ to explore ArgoCD and GitOps!
| [sock-shop](sock-shop/) | A microservices demo application (https://microservices-demo.github.io) |
| [plugins](plugins/) | Applications which demonstrate config management plugins usage |
| [blue-green](blue-green/) | Demonstrates how to implement blue-green deployment using [Argo Rollouts](https://github.com/argoproj/argo-rollouts)
| [applications](applications/) | An application composed of other applications |

5
applications/Chart.yaml

@ -0,0 +1,5 @@
apiVersion: v1
appVersion: "1.0"
description: Applications
name: applications
version: 0.1.0

17
applications/templates/guestbook.yaml

@ -0,0 +1,17 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: guestbook
namespace: argocd
spec:
destination:
namespace: argocd
server: {{ .Values.spec.destination.server }}
project: default
source:
path: guestbook
repoURL: https://github.com/argoproj/argocd-example-apps
targetRevision: {{ .Values.spec.source.targetRevision }}
syncPolicy:
automated:
prune: true

17
applications/templates/helm-dependency.yaml

@ -0,0 +1,17 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: helm-dependency
namespace: argocd
spec:
destination:
namespace: argocd
server: {{ .Values.spec.destination.server }}
project: default
source:
path: helm-dependency
repoURL: https://github.com/argoproj/argocd-example-apps
targetRevision: {{ .Values.spec.source.targetRevision }}
syncPolicy:
automated:
prune: true

17
applications/templates/helm-guestbook.yaml

@ -0,0 +1,17 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: helm-guestbook
namespace: argocd
spec:
destination:
namespace: argocd
server: {{ .Values.spec.destination.server }}
project: default
source:
path: helm-guestbook
repoURL: https://github.com/argoproj/argocd-example-apps
targetRevision: {{ .Values.spec.source.targetRevision }}
syncPolicy:
automated:
prune: true

17
applications/templates/kustomize-guestbook.yaml

@ -0,0 +1,17 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: kustomize-guestbook
namespace: argocd
spec:
destination:
namespace: argocd
server: {{ .Values.spec.destination.server }}
project: default
source:
path: kustomize-guestbook
repoURL: https://github.com/argoproj/argocd-example-apps
targetRevision: {{ .Values.spec.source.targetRevision }}
syncPolicy:
automated:
prune: true

5
applications/values.yaml

@ -0,0 +1,5 @@
spec:
destination:
server: https://kubernetes.default.svc
source:
targretRevision: HEAD
Loading…
Cancel
Save