added application.yaml +23 -0
| new file mode 100644 |
| @@ -0,0 +1,23 @@ |
| 1 | +apiVersion: argoproj.io/v1alpha1 |
| 2 | +kind: Application |
| 3 | +metadata: |
| 4 | + name: myapp-argo-application |
| 5 | + namespace: argocd |
| 6 | +spec: |
| 7 | + project: default |
| 8 | + |
| 9 | + source: |
| 10 | + repoURL: https://gitlab.com/nanuchi/argocd-app-config.git |
| 11 | + targetRevision: HEAD |
| 12 | + path: dev |
| 13 | + destination: |
| 14 | + server: https://kubernetes.default.svc |
| 15 | + namespace: myapp |
| 16 | + |
| 17 | + syncPolicy: |
| 18 | + syncOptions: |
| 19 | + - CreateNamespace=true |
| 20 | + |
| 21 | + automated: |
| 22 | + selfHeal: true |
| 23 | + prune: true |
| | \ No newline at end of file |
| new file mode 100644 |
| @@ -0,0 +1,23 @@ |
| | 1 | +apiVersion: argoproj.io/v1alpha1 |
| | 2 | +kind: Application |
| | 3 | +metadata: |
| | 4 | + name: myapp-argo-application |
| | 5 | + namespace: argocd |
| | 6 | +spec: |
| | 7 | + project: default |
| | 8 | + |
| | 9 | + source: |
| | 10 | + repoURL: https://gitlab.com/nanuchi/argocd-app-config.git |
| | 11 | + targetRevision: HEAD |
| | 12 | + path: dev |
| | 13 | + destination: |
| | 14 | + server: https://kubernetes.default.svc |
| | 15 | + namespace: myapp |
| | 16 | + |
| | 17 | + syncPolicy: |
| | 18 | + syncOptions: |
| | 19 | + - CreateNamespace=true |
| | 20 | + |
| | 21 | + automated: |
| | 22 | + selfHeal: true |
| | 23 | + prune: true |
| \ No newline at end of file | | \ No newline at end of file |