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
676475b5
Commit
676475b5
authored
Jul 19, 2019
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
0b21c000
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
6 deletions
+13
-6
Deploy.md
Deploy.md
+8
-1
templates/database/database-ss.yaml
templates/database/database-ss.yaml
+4
-4
templates/registry/registry-ss.yaml
templates/registry/registry-ss.yaml
+1
-1
No files found.
Deploy.md
View file @
676475b5
...
...
@@ -20,6 +20,13 @@ 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
=
harbor
\
-f
/etc/kubernetes/helm/harbor/values-overrides.yaml
>
/etc/kubernetes/helm/harbor/dist.yaml
```
## images
...
...
@@ -79,4 +86,4 @@ docker push registry-vpc.cn-qingdao.aliyuncs.com/wod/notary-signer-photon:v0.6.1
docker pull goharbor/harbor-db:v1.7.5
&&
\
docker tag goharbor/harbor-db:v1.7.5 registry-vpc.cn-qingdao.aliyuncs.com/wod/harbor-db:v1.7.5
&&
\
docker push registry-vpc.cn-qingdao.aliyuncs.com/wod/harbor-db:v1.7.5
```
\ No newline at end of file
```
templates/database/database-ss.yaml
View file @
676475b5
...
...
@@ -70,13 +70,13 @@ spec:
{{
toYaml . | indent 8
}}
{{
- end
}}
volumes
:
-
name
:
etc-localtime
hostPath
:
path
:
/etc/localtime
-
name
:
etc-localtime
hostPath
:
path
:
/etc/localtime
{{
- if .Values.database.internal.storageSpec.hostPath
}}
-
name
:
data
hostPath
:
path
:
{{
.Values.database.internal.storageSpec.
hostPath.
root | default "/data"
}}
/{{ .Release.Namespace }}/{{ .Release.Name }}/database
path
:
{{
.Values.database.internal.storageSpec.root | default "/data"
}}
/{{ .Release.Namespace }}/{{ .Release.Name }}/database
{{
- else if .Values.database.internal.storageSpec.emptyDir
}}
-
name
:
data
emptyDir
:
{}
...
...
templates/registry/registry-ss.yaml
View file @
676475b5
...
...
@@ -136,7 +136,7 @@ spec:
{{
- if .Values.registry.storageSpec.hostPath
}}
-
name
:
data
hostPath
:
path
:
{{
.Values.registry.storageSpec.hostPath.root | default "/data"
}}
/{{ .Release.Namespace }}/{{ .Release.Name }}/
database
path
:
{{
.Values.registry.storageSpec.hostPath.root | default "/data"
}}
/{{ .Release.Namespace }}/{{ .Release.Name }}/
registry
{{
- else if .Values.registry.storageSpec.emptyDir
}}
-
name
:
data
emptyDir
:
{}
...
...
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