diff --git a/3scale/base/products/customer.yaml b/3scale/base/products/customer.yaml index 82ac063..68c7f30 100644 --- a/3scale/base/products/customer.yaml +++ b/3scale/base/products/customer.yaml @@ -37,4 +37,3 @@ spec: op: "set" header": "Authorization" value: "Basic dXNlcjpwYXNzd29yZA==" - diff --git a/3scale/overlays/dev/products/customer.yaml b/3scale/overlays/dev/products/customer.yaml index f4d4903..01eb031 100644 --- a/3scale/overlays/dev/products/customer.yaml +++ b/3scale/overlays/dev/products/customer.yaml @@ -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 diff --git a/README.md b/README.md index 8db6360..a400b5b 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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) \ No newline at end of file diff --git a/images/gitops-application.png b/images/gitops-application.png new file mode 100644 index 0000000..1b1bb26 Binary files /dev/null and b/images/gitops-application.png differ diff --git a/images/gitops-synch.png b/images/gitops-synch.png new file mode 100644 index 0000000..d318a14 Binary files /dev/null and b/images/gitops-synch.png differ