Skip to content

Commit ca3c936

Browse files
committed
argo: app example and project info
1 parent fd3825a commit ca3c936

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

docs/argocd.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
## argo projects
44

5-
if you use argo project != default you might need to add additional configuration to them e.g. "Source Repositories" or "Destinations" in order that the argo applications in the project work as expected. To make it work you can also use "*" for these configurations, but if possible better be specific.
5+
if you use argo project != default you might need to add additional configuration to them e.g. "Source Repositories" or "Destinations" in order that the argo applications in the project work as expected. To make it work you can also use "*" for these configurations, but I would not recommend it. Better to understand it correctly and set specific values, have a look at [Argo official Project doc](https://argo-cd.readthedocs.io/en/latest/user-guide/projects/)
6+
7+
To see this in UI: Settings -> Projects
68

79
## Self-signed & Untrusted TLS Certificates
810

@@ -97,3 +99,20 @@ stringData:
9799
password: my-password
98100
username: my-username
99101
```
102+
103+
## example application
104+
105+
```yaml
106+
apiVersion: argoproj.io/v1alpha1
107+
kind: Application
108+
metadata:
109+
name: test
110+
spec:
111+
destination:
112+
server: 'https://kubernetes.default.svc'
113+
project: default
114+
source:
115+
path: .
116+
repoURL: 'https://gitlab.apps.ocp.weyrich.dev/gitops/vms.git'
117+
targetRevision: HEAD
118+
```

0 commit comments

Comments
 (0)