Skip to content

Commit

Permalink
Added instructions to synch
Browse files Browse the repository at this point in the history
  • Loading branch information
vbkgithub committed Jul 15, 2022
1 parent 463e215 commit 1d5f2c7
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
1 change: 0 additions & 1 deletion 3scale/base/products/customer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,3 @@ spec:
op: "set"
header": "Authorization"
value: "Basic dXNlcjpwYXNzd29yZA=="

2 changes: 1 addition & 1 deletion 3scale/overlays/dev/products/customer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ spec:
oidc:
issuerEndpoint: "https://zync-sso:b361ca5f-1646-4377-90dc-3f77dca10f40@sso-dev.apps.cluster-2q76v.2q76v.sandbox955.opentlc.com/auth/realms/dev"
backendUsages:
gav:
customer-order:
path: /customer/order
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Create the ArgoCD Application. Namespace where 3scale CRs are to be created is a
```
oc apply -f gitops/Application_threescale-dev.yaml -n openshift-gitops
```
An ArgoCD application `threescale-dev` is created.

## Connect the git repository

Expand All @@ -72,3 +73,13 @@ to replace and merge the environment specific values
- `base` - 3scale manifest attributes that are common for all environments are housed here (spread under different directories i.e. `products`, `backends` etc.)

- `overlays/dev` - 3scale manifest attributes that are specific for dev environment and different from base are housed here (spread under different directories i.e. `products`, `backends` etc.)

## Manual Synch of 3scale CRs

GitOps application `threescale-dev` is configured to synch manually. But, it can be changed to synch automatically i.e. changes committed to git repo are automatically applied to 3scale else go to the GitOps console using the route URL it creates as `openshift-gitops-server` in `openshift-gitops` namespace.

Click `Manage Application` icon on the left panel of the ArgoCD console. You will then see `threescale-dev` application as shown below
![](images/gitops-application.png)

Click `SYNC` and `SYNCHRONIZE` as shown below
![](images/gitops-synch.png)
Binary file added images/gitops-application.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/gitops-synch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1d5f2c7

Please sign in to comment.