Skip to content

Commit

Permalink
relocated incommand related to setting default namespace
Browse files Browse the repository at this point in the history
Signed-off-by: RutviShukla <rutvi.shukla@ufl.edu>
  • Loading branch information
RutviShukla committed Sep 16, 2022
1 parent 242efe7 commit a3d5402
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,16 +138,16 @@ An example repository containing a guestbook application is available at

### Creating Apps Via CLI

Create the example guestbook application with the following command:
First we need to set the current namespace to argocd running the following command:

```bash
argocd app create guestbook --repo https://github.com/argoproj/argocd-example-apps.git --path guestbook --dest-server https://kubernetes.default.svc --dest-namespace default
kubectl config set-context --current --namespace=argocd
```

Command for setting default namespace:
Create the example guestbook application with the following command:

```bash
kubectl config set-context --current --namespace=argocd
argocd app create guestbook --repo https://github.com/argoproj/argocd-example-apps.git --path guestbook --dest-server https://kubernetes.default.svc --dest-namespace default
```

### Creating Apps Via UI
Expand Down

0 comments on commit a3d5402

Please sign in to comment.