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
dd6c88c5
Commit
dd6c88c5
authored
Oct 18, 2018
by
舒成
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
9da96508
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1313 additions
and
9 deletions
+1313
-9
dist.yaml
dist.yaml
+1293
-0
readme.md
readme.md
+12
-0
templates/_helpers.tpl
templates/_helpers.tpl
+0
-1
templates/database/database-ss.yaml
templates/database/database-ss.yaml
+2
-2
templates/istio/notary.gateway.yaml
templates/istio/notary.gateway.yaml
+3
-3
templates/istio/ui.gateway.yaml
templates/istio/ui.gateway.yaml
+3
-3
No files found.
dist.yaml
0 → 100644
View file @
dd6c88c5
This diff is collapsed.
Click to expand it.
readme.md
View file @
dd6c88c5
...
...
@@ -178,4 +178,16 @@ helm install \
# uninstall
helm delete harbor
--purge
# update
helm upgrade harbor /etc/kubernetes/helm/harbor
\
-f
/etc/kubernetes/helm/harbor/values-overrides.yaml
# template
helm template
\
/etc/kubernetes/helm/harbor
\
--name
=
harbor
\
--namespace
=
devops
\
-f
/etc/kubernetes/helm/harbor/values-overrides.yaml
\
>
/etc/kubernetes/helm/harbor/dist.yaml
```
\ No newline at end of file
templates/_helpers.tpl
View file @
dd6c88c5
...
...
@@ -26,7 +26,6 @@ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
{
{
/*
matchLabels
*/
}
}
{{- define "harbor.matchLabels" -}}
release: {{ .Release.Name }}
app: "{{ template "harbor.name" . }}"
{{- end -}}
{{- define "harbor.externalURL" -}}
...
...
templates/database/database-ss.yaml
View file @
dd6c88c5
...
...
@@ -6,7 +6,7 @@ metadata:
labels
:
{{
include "harbor.labels" . | indent 4
}}
app
:
harbor-database
version
:
{{
.Values.
busybox
.image.tag
}}
version
:
{{
.Values.
database.internal
.image.tag
}}
spec
:
replicas
:
1
serviceName
:
"
{{
template
"harbor.fullname" . }}-database"
...
...
@@ -19,7 +19,7 @@ spec:
labels
:
{{
include "harbor.labels" . | indent 8
}}
app
:
harbor-database
version
:
{{
.Values.
busybox
.image.tag
}}
version
:
{{
.Values.
database.internal
.image.tag
}}
spec
:
initContainers
:
-
name
:
"
remove-lost-found"
...
...
templates/istio/notary.gateway.yaml
View file @
dd6c88c5
...
...
@@ -2,7 +2,7 @@
apiVersion
:
networking.istio.io/v1alpha3
kind
:
Gateway
metadata
:
name
:
"
{{
template
"harbor.fullname" . }}"
-notary
name
:
{{
template "harbor.fullname" .
}}
-notary
spec
:
selector
:
istio
:
ingressgateway
# use istio default controller
...
...
@@ -17,12 +17,12 @@ spec:
apiVersion
:
networking.istio.io/v1alpha3
kind
:
VirtualService
metadata
:
name
:
"
{{
template
"harbor.fullname" . }}"
-notary
name
:
{{
template "harbor.fullname" .
}}
-notary
spec
:
hosts
:
-
"
{{
template
"harbor.notaryFQDN" . }}"
gateways
:
-
"
{{
template
"harbor.fullname" . }}"
-notary
-
{{
template "harbor.fullname" .
}}
-notary
http
:
-
route
:
-
destination
:
...
...
templates/istio/ui.gateway.yaml
View file @
dd6c88c5
...
...
@@ -2,7 +2,7 @@
apiVersion
:
networking.istio.io/v1alpha3
kind
:
Gateway
metadata
:
name
:
"
{{
template
"harbor.fullname" . }}"
-ui
name
:
{{
template "harbor.fullname" .
}}
-ui
spec
:
selector
:
istio
:
ingressgateway
# use istio default controller
...
...
@@ -17,12 +17,12 @@ spec:
apiVersion
:
networking.istio.io/v1alpha3
kind
:
VirtualService
metadata
:
name
:
"
{{
template
"harbor.fullname" . }}"
-ui
name
:
{{
template "harbor.fullname" .
}}
-ui
spec
:
hosts
:
-
"
{{
.Values.externalDomain
}}"
gateways
:
-
"
{{
template
"harbor.fullname" . }}"
-ui
-
{{
template "harbor.fullname" .
}}
-ui
http
:
-
route
:
-
destination
:
...
...
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