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
69cce195
Commit
69cce195
authored
Aug 17, 2020
by
吕永新
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加ingressroute和values-stolon.yaml
parent
5fb332f1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
228 additions
and
1 deletion
+228
-1
templates/ingress/ingress.yaml
templates/ingress/ingress.yaml
+85
-1
values-stolon.yaml
values-stolon.yaml
+143
-0
No files found.
templates/ingress/ingress.yaml
View file @
69cce195
...
...
@@ -104,3 +104,87 @@ spec:
{{
- end
}}
{{
- end
}}
{{
- end
}}
---
apiVersion
:
bcc.bd-apaas.com/v1alpha1
kind
:
IngressRoute
metadata
:
name
:
harbor-ingress
namespace
:
{{
.Release.Namespace
}}
spec
:
entryPoints
:
-
websecure
routes
:
-
kind
:
Rule
match
:
Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/`)
middlewares
:
[]
priority
:
0
services
:
-
kind
:
Service
name
:
harbor-portal
namespace
:
devops
port
:
80
-
kind
:
Rule
match
:
Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/api/`)
middlewares
:
[]
priority
:
0
services
:
-
kind
:
Service
name
:
harbor-core
namespace
:
devops
port
:
80
-
kind
:
Rule
match
:
Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/service/`)
middlewares
:
[]
priority
:
0
services
:
-
kind
:
Service
name
:
harbor-core
namespace
:
devops
port
:
80
-
kind
:
Rule
match
:
Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/v2/`)
middlewares
:
[]
priority
:
0
services
:
-
kind
:
Service
name
:
harbor-core
namespace
:
devops
port
:
80
-
kind
:
Rule
match
:
Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/chartrepo/`)
middlewares
:
[]
priority
:
0
services
:
-
kind
:
Service
name
:
harbor-core
namespace
:
devops
port
:
80
-
kind
:
Rule
match
:
Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/c/`)
middlewares
:
[]
priority
:
0
services
:
-
kind
:
Service
name
:
harbor-core
namespace
:
devops
port
:
80
-
kind
:
Rule
match
:
Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/`)
middlewares
:
[]
priority
:
0
services
:
-
kind
:
Service
name
:
harbor-notary-server
namespace
:
devops
port
:
4443
tls
:
certResolver
:
default
---
apiVersion
:
bcc.bd-apaas.com/v1alpha1
kind
:
IngressHost
metadata
:
name
:
harbor
namespace
:
{{
.Release.Namespace
}}
spec
:
host
:
{{
$ingress.hosts.core
}
values-stolon.yaml
0 → 100644
View file @
69cce195
expose
:
type
:
ingress
tls
:
enabled
:
false
ingress
:
hosts
:
core
:
hub.test.wodcloud.com
notary
:
notary.test.wodcloud.com
annotations
:
ingress.kubernetes.io/proxy-body-size
:
"
0"
externalURL
:
https://hub.test.wodcloud.com
persistence
:
enabled
:
true
imageChartStorage
:
# s3 , filesystem
type
:
filesystem
filesystem
:
rootdirectory
:
/data
#s3:
# accesskey: AKIAIOSFODNN7EXAMPLE
# secretkey: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
# region: us-east-1
# regionendpoint: https://minio.sxwh.local
# bucket: registry
# encrypt: false
# v4auth: true
# chunksize: '5242880'
# rootdirectory: /
imagePullPolicy
:
IfNotPresent
logLevel
:
info
harborAdminPassword
:
"
spaceIN511"
secretKey
:
"
IpTIscRIgmerlare"
portal
:
image
:
repository
:
registry.cn-qingdao.aliyuncs.com/wod/harbor-portal
tag
:
v1.8.2
replicas
:
1
core
:
image
:
repository
:
registry.cn-qingdao.aliyuncs.com/wod/harbor-core
tag
:
v1.8.2
replicas
:
1
jobservice
:
image
:
repository
:
registry.cn-qingdao.aliyuncs.com/wod/harbor-jobservice
tag
:
v1.8.2
replicas
:
1
maxJobWorkers
:
10
jobLogger
:
file
registry
:
registry
:
image
:
repository
:
registry.cn-qingdao.aliyuncs.com/wod/registry
tag
:
2.7.1
resources
:
limits
:
memory
:
4Gi
requests
:
memory
:
256Mi
nodeSelector
:
harbor
:
enabled
storageSpec
:
# type: emptyDir , hostPath , volumeClaimTemplate
type
:
hostPath
emptyDir
:
{}
hostPath
:
root
:
/data
volumeClaimTemplate
:
spec
:
storageClassName
:
rook-ceph-block
accessModes
:
[
"
ReadWriteOnce"
]
resources
:
requests
:
storage
:
100Gi
selector
:
{}
controller
:
image
:
repository
:
registry.cn-qingdao.aliyuncs.com/wod/harbor-registryctl
tag
:
v1.8.2
replicas
:
1
chartmuseum
:
enabled
:
true
image
:
repository
:
registry.cn-qingdao.aliyuncs.com/wod/chartmuseum-photon
tag
:
v0.9.0-v1.8.2
replicas
:
1
nodeSelector
:
harbor
:
enabled
storageSpec
:
type
:
hostPath
emptyDir
:
{}
hostPath
:
root
:
/data
clair
:
enabled
:
true
image
:
repository
:
registry.cn-qingdao.aliyuncs.com/wod/clair-photon
tag
:
v2.0.8-v1.8.2
replicas
:
1
notary
:
enabled
:
true
server
:
image
:
repository
:
registry.cn-qingdao.aliyuncs.com/wod/notary-server-photon
tag
:
v0.6.1-v1.8.2
replicas
:
1
signer
:
image
:
repository
:
registry.cn-qingdao.aliyuncs.com/wod/notary-signer-photon
tag
:
v0.6.1-v1.8.2
replicas
:
1
database
:
type
:
external
external
:
host
:
"
stolon-proxy.devops"
port
:
"
5432"
username
:
"
postgres"
password
:
"
spaceIN511"
coreDatabase
:
"
hub_registry"
clairDatabase
:
"
hub_clair"
notaryServerDatabase
:
"
hub_notary_server"
notarySignerDatabase
:
"
hub_notary_signer"
sslmode
:
"
disable"
redis
:
type
:
internal
internal
:
image
:
repository
:
registry.cn-qingdao.aliyuncs.com/wod/redis
tag
:
4.0.14-alpine
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