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
41ec5aae
Commit
41ec5aae
authored
Aug 23, 2019
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加时区挂载
parent
712d5a65
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
templates/core/core-dpl.yaml
templates/core/core-dpl.yaml
+5
-0
templates/jobservice/jobservice-dpl.yaml
templates/jobservice/jobservice-dpl.yaml
+5
-0
No files found.
templates/core/core-dpl.yaml
View file @
41ec5aae
...
@@ -59,6 +59,8 @@ spec:
...
@@ -59,6 +59,8 @@ spec:
ports
:
ports
:
-
containerPort
:
8080
-
containerPort
:
8080
volumeMounts
:
volumeMounts
:
-
name
:
etc-localtime
mountPath
:
/etc/localtime
-
name
:
config
-
name
:
config
mountPath
:
/etc/core/app.conf
mountPath
:
/etc/core/app.conf
subPath
:
app.conf
subPath
:
app.conf
...
@@ -80,6 +82,9 @@ spec:
...
@@ -80,6 +82,9 @@ spec:
{{
toYaml .Values.core.resources | indent 10
}}
{{
toYaml .Values.core.resources | indent 10
}}
{{
- end
}}
{{
- end
}}
volumes
:
volumes
:
-
name
:
etc-localtime
hostPath
:
path
:
/etc/localtime
-
name
:
config
-
name
:
config
configMap
:
configMap
:
name
:
{{
template "harbor.core" .
}}
name
:
{{
template "harbor.core" .
}}
...
...
templates/jobservice/jobservice-dpl.yaml
View file @
41ec5aae
...
@@ -69,7 +69,12 @@ spec:
...
@@ -69,7 +69,12 @@ spec:
subPath
:
config.yml
subPath
:
config.yml
-
name
:
data
-
name
:
data
mountPath
:
/var/log/jobs
mountPath
:
/var/log/jobs
-
name
:
etc-localtime
mountPath
:
/etc/localtime
volumes
:
volumes
:
-
name
:
etc-localtime
hostPath
:
path
:
/etc/localtime
-
name
:
jobservice-config
-
name
:
jobservice-config
configMap
:
configMap
:
name
:
"
{{
template
"harbor.jobservice" . }}"
name
:
"
{{
template
"harbor.jobservice" . }}"
...
...
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