Skip to content

Commit 47c44ec

Browse files
committed
apps in any namespace
1 parent c9aa566 commit 47c44ec

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,30 @@ spec:
140140
timeout: 30s
141141
```
142142

143+
### Specifying the Application's namespace
144+
145+
Starting in Argo CD v2.5, Applications may be installed outside the `argocd` namespace (or whichever namespace Argo CD
146+
installed in). To specify the namespace, use the `namespace` field.
147+
148+
```yaml
149+
apiVersion: argoproj.io/v1alpha1
150+
kind: Workflow
151+
metadata:
152+
generateName: argocd-namespace-example-
153+
spec:
154+
entrypoint: main
155+
templates:
156+
- name: main
157+
plugin:
158+
argocd:
159+
actions:
160+
- - app:
161+
sync:
162+
apps:
163+
- name: guestbook-backend
164+
namespace: my-apps-namespace
165+
```
166+
143167
## Contributing
144168

145169
Head to the [scripts](CONTRIBUTING.md) directory to find out how to get the project up and running on your local machine for development and testing purposes.

0 commit comments

Comments
 (0)