Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #820 from farcan/Fix-Document-7.4
Browse files Browse the repository at this point in the history
Fix Document 7.4
  • Loading branch information
salihozkara authored Sep 2, 2024
2 parents 0886292 + fcc1b6d commit 36e707b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions en/guides/ms-multi-tenant-domain-resolving.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ After you run the `create-tls-secrets.ps1` script, now it should create kubernet
Your request from the browser to the subdomain will be accepted by the ingress-controller. The ingress-controller will redirect to the chart ingress based on your request.

Update your charts ingress.yaml files. Ex for **administration-ingress.yaml**:

{%{
```yaml
spec:
tls:
Expand Down Expand Up @@ -303,6 +303,7 @@ spec:
port:
number: 80
```
}%}
**Update all the application, gateway and microservice ingress.yaml files.** Eventually, when deploy the application, you will be seeing:
![updated-ingress](D:\Github\abp-commercial-docs\en\images\updated-ingress.png)
Expand All @@ -311,6 +312,7 @@ spec:
Navigate to applications, gateways and microservices' **x-deployment.yaml** file and override the newly introduced `TenantDomain` key:

{%{
```yaml
... Removed for brevity
- name: "TenantDomain" # Add this key
Expand All @@ -319,11 +321,12 @@ Navigate to applications, gateways and microservices' **x-deployment.yaml** file
value: "{{ .Values.config.authServer.authority }}"
...
```

}%}
> **Update all the application, gateway and microservice deployment.yaml files.**

**For AuthServer, also add the WildCardDomains that is used to handle subdomain *redirect* and *post_logout redirect* URIs to the authserver-deployment.yaml file:**

{%{
```yaml
... Removed for brevity
- name: "TenantDomain"
Expand All @@ -348,6 +351,7 @@ Navigate to applications, gateways and microservices' **x-deployment.yaml** file
value: "{{ .Values.wildCardDomains.productService }}"
...
```
}%}

Afterwards, update the **values.yaml** file for all the sub-charts (administration, authserver etc):

Expand Down

0 comments on commit 36e707b

Please sign in to comment.