Skip to content

Commit

Permalink
rearranging the instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
vbkgithub committed Jul 25, 2022
1 parent fdd0fea commit 56cac7a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,6 @@ Assign the cluster role to sa `openshift-gitops-argocd-application-controller`
oc adm policy add-role-to-user gitops-threescale-access system:serviceaccount:openshift-gitops:openshift-gitops-argocd-application-controller -n 3scale-dev (namespace where 3scale CRs to be applied)
```

## Create ArgoCD Application

Create the ArgoCD Application. Namespace where 3scale CRs are to be created is assumed as `3scale-dev`. Please change the `namespace` attribute under `spec->destination` in the `gitops/Application_threescale-dev.yaml` to align with your environment

```
oc apply -f gitops/Application_threescale-dev.yaml -n openshift-gitops
```
An ArgoCD application `threescale-dev` is created.

## Connect the git repository

Configure the repositories to be connected by the ArgoCD application
Expand All @@ -64,6 +55,15 @@ Click `Manage your repositories, projects, settings` icon on the left panel of t

![](images/gitops-connectrepo.png)

## Create ArgoCD Application

Create the ArgoCD Application. Namespace where 3scale CRs are to be created is assumed as `3scale-dev`. Please change the `namespace` attribute under `spec->destination` in the `gitops/Application_threescale-dev.yaml` to align with your environment

```
oc apply -f gitops/Application_threescale-dev.yaml -n openshift-gitops
```
An ArgoCD application `threescale-dev` is created.

## 3scale CRs
**Please note that the directory structure used for 3scale CRs are for the tutorial purpose only. Please adjust based on the needs**

Expand Down

0 comments on commit 56cac7a

Please sign in to comment.