Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
harbor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
market
harbor
Commits
c25a5409
Commit
c25a5409
authored
Oct 18, 2018
by
舒成
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
b427f691
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
75 additions
and
10 deletions
+75
-10
readme.md
readme.md
+8
-10
templates/istio/notary.gateway.yaml
templates/istio/notary.gateway.yaml
+32
-0
templates/istio/ui.gateway.yaml
templates/istio/ui.gateway.yaml
+32
-0
values.yaml
values.yaml
+3
-0
No files found.
readme.md
View file @
c25a5409
...
@@ -45,11 +45,6 @@ docker pull registry:2.6.2 && \
...
@@ -45,11 +45,6 @@ docker pull registry:2.6.2 && \
docker tag registry:2.6.2 registry-vpc.cn-qingdao.aliyuncs.com/wod/registry:2.6.2
&&
\
docker tag registry:2.6.2 registry-vpc.cn-qingdao.aliyuncs.com/wod/registry:2.6.2
&&
\
docker push registry-vpc.cn-qingdao.aliyuncs.com/wod/registry:2.6.2
docker push registry-vpc.cn-qingdao.aliyuncs.com/wod/registry:2.6.2
# nginx
docker pull nginx:1.15.2-alpine
&&
\
docker tag nginx:1.15.2-alpine registry-vpc.cn-qingdao.aliyuncs.com/wod/nginx:1.15.2-alpine
&&
\
docker push registry-vpc.cn-qingdao.aliyuncs.com/wod/nginx:1.15.2-alpine
# redis
# redis
docker pull redis:4.0.1-alpine
&&
\
docker pull redis:4.0.1-alpine
&&
\
docker tag redis:4.0.1-alpine registry-vpc.cn-qingdao.aliyuncs.com/wod/redis:4.0.1-alpine
&&
\
docker tag redis:4.0.1-alpine registry-vpc.cn-qingdao.aliyuncs.com/wod/redis:4.0.1-alpine
&&
\
...
@@ -69,7 +64,10 @@ externalDomain: harbor.wodcloud.local
...
@@ -69,7 +64,10 @@ externalDomain: harbor.wodcloud.local
harborAdminPassword
:
"
58772015"
harborAdminPassword
:
"
58772015"
ingress
:
ingress
:
enabled
:
true
enabled
:
false
istio
:
enabled
:
true
adminserver
:
adminserver
:
image
:
image
:
...
@@ -157,12 +155,12 @@ notary:
...
@@ -157,12 +155,12 @@ notary:
enabled
:
true
enabled
:
true
server
:
server
:
image
:
image
:
repository
:
registry.cn-qingdao.aliyuncs.com/wod/notary-server
repository
:
registry.cn-qingdao.aliyuncs.com/wod/notary-server
-photon
tag
:
0.5.0
tag
:
dev
signer
:
signer
:
image
:
image
:
repository
:
registry.cn-qingdao.aliyuncs.com/wod/notary-signer
repository
:
registry.cn-qingdao.aliyuncs.com/wod/notary-signer
-photon
tag
:
0.5.0
tag
:
dev
```
```
## setup
## setup
...
...
templates/istio/notary.gateway.yaml
0 → 100644
View file @
c25a5409
{{
if .Values.istio.enabled
}}
apiVersion
:
networking.istio.io/v1alpha3
kind
:
Gateway
metadata
:
name
:
"
{{
template
"harbor.fullname" . }}"-notary
spec
:
selector
:
istio
:
ingressgateway
# use istio default controller
servers
:
-
port
:
number
:
80
name
:
http
protocol
:
HTTP
hosts
:
-
"
{{
template
"harbor.notaryFQDN" . }}"
---
apiVersion
:
networking.istio.io/v1alpha3
kind
:
VirtualService
metadata
:
name
:
"
{{
template
"harbor.fullname" . }}"-notary
spec
:
hosts
:
-
"
{{
template
"harbor.notaryFQDN" . }}"
gateways
:
-
"
{{
template
"harbor.fullname" . }}"-notary
http
:
-
route
:
-
destination
:
host
:
{{
template "harbor.notaryServiceName" .
}}
port
:
number
:
4443
{{
end
}}
templates/istio/ui.gateway.yaml
0 → 100644
View file @
c25a5409
{{
if .Values.istio.enabled
}}
apiVersion
:
networking.istio.io/v1alpha3
kind
:
Gateway
metadata
:
name
:
"
{{
template
"harbor.fullname" . }}"-ui
spec
:
selector
:
istio
:
ingressgateway
# use istio default controller
servers
:
-
port
:
number
:
80
name
:
http
protocol
:
HTTP
hosts
:
-
"
{{
.Values.externalDomain
}}"
---
apiVersion
:
networking.istio.io/v1alpha3
kind
:
VirtualService
metadata
:
name
:
"
{{
template
"harbor.fullname" . }}"-ui
spec
:
hosts
:
-
"
{{
.Values.externalDomain
}}"
gateways
:
-
"
{{
template
"harbor.fullname" . }}"-ui
http
:
-
route
:
-
destination
:
host
:
{{
template "harbor.fullname" .
}}
-ui
port
:
number
:
80
{{
end
}}
values.yaml
View file @
c25a5409
...
@@ -43,6 +43,9 @@ ingress:
...
@@ -43,6 +43,9 @@ ingress:
# be generated automatically by the chart if leave it empty
# be generated automatically by the chart if leave it empty
secretName
:
"
"
secretName
:
"
"
istio
:
enabled
:
false
# The tag for Harbor docker images.
# The tag for Harbor docker images.
harborImageTag
:
&harbor_image_tag
dev
harborImageTag
:
&harbor_image_tag
dev
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment