Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
oracle-xe
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
oracle-xe
Commits
4685b1bd
Commit
4685b1bd
authored
Apr 25, 2019
by
gaoshiyao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
8824b4f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
10 deletions
+16
-10
step.yaml
step.yaml
+8
-5
templates/statefulset.yaml
templates/statefulset.yaml
+8
-5
No files found.
step.yaml
View file @
4685b1bd
...
...
@@ -9,9 +9,12 @@ configInfo:
value
:
[
"
latest"
]
-
name
:
storageSpec.volumeClaimTemplate.spec.storageClassName
text
:
存储类
type
:
radio
type
:
storage
value
:
[
"
rook-ceph-block"
]
-
name
:
storageSpec.volumeClaimTemplate.spec.resources.requests.storage
text
:
存储容量
type
:
text
value
:
"
5Gi"
\ No newline at end of file
storage
:
"
4Gi"
hostpath
:
"
/data/path"
-
name
:
storageSpec.volumeClaimTemplate.spec.resources
text
:
资源限制
type
:
resource
memory
:
"
5Gi"
cpu
:
"
1000m"
\ No newline at end of file
templates/statefulset.yaml
View file @
4685b1bd
...
...
@@ -58,8 +58,14 @@ spec:
{{
- if .Values.storageSpec.hostPath
}}
-
name
:
data
hostPath
:
{{
toYaml $.Values.storageSpec.hostPath | indent 10
}}
{{
- else if .Values.storageSpec.volumeClaimTemplate
}}
path
:
/data/{{ .Release.Namespace }}/{{ .Release.Name }}/oracle11g
{{
- else if .Values.storageSpec.emptyDir
}}
-
name
:
data
emptyDir
:
{}
{{
- end
}}
{{
- if .Values.storageSpec.hostPath
}}
{{
- else if .Values.storageSpec.emptyDir
}}
{{
- else if .Values.storageSpec.volumeClaimTemplate
}}
volumeClaimTemplates
:
-
metadata
:
name
:
"
data"
...
...
@@ -68,7 +74,4 @@ spec:
app
:
{{
.Release.Name
}}
spec
:
{{
toYaml $.Values.storageSpec.volumeClaimTemplate.spec | indent 6
}}
{{
- else
}}
-
name
:
data
emptyDir
:
{}
{{
- end
}}
\ No newline at end of file
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