Skip to content

Commit c1300ff

Browse files
author
Alexandre Krispin
committed
Update guide
1 parent e7374f7 commit c1300ff

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

deploy/chart/docs/guide/rancher.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,27 @@ database:
105105
database: registry
106106
```
107107

108-
The hostname chosen for our local deployment is the default, `harbor.example.com`. To override our DNS resolver, we set a mapping to localhost in `/etc/hosts`:
108+
We set also `externalURL` and `harborAdminPassword`:
109+
110+
```yaml
111+
externalURL: "https://harbor.example.com"
112+
harborAdminPassword: "strong-password"
113+
```
114+
115+
Finally we configure the ingress:
116+
117+
```yaml
118+
ingress:
119+
core: harbor.example.com
120+
hosts:
121+
- host: harbor.example.com
122+
tls:
123+
- secretName: harbor-tls
124+
hosts:
125+
- harbor.example.com
126+
```
127+
128+
The hostname chosen for our local deployment is `harbor.example.com`. To override our DNS resolver, we set a mapping to localhost in `/etc/hosts`:
109129

110130
```
111131
127.0.0.1 harbor.example.com

0 commit comments

Comments
 (0)