Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
MetaGer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
54
Issues
54
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
open-source
MetaGer
Commits
00d1ea6c
Commit
00d1ea6c
authored
Jan 23, 2020
by
Dominik Hebeler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added initContainers to fix write permissions
parent
2fcd3e2c
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
chart/templates/deployment.yaml
chart/templates/deployment.yaml
+11
-0
No files found.
chart/templates/deployment.yaml
View file @
00d1ea6c
...
...
@@ -41,6 +41,17 @@ spec:
-
name
:
mgcache-persistent-storage
persistentVolumeClaim
:
claimName
:
mgcache
initContainers
:
-
name
:
init-chmod
image
:
busybox:latest
command
:
[
'
sh'
,
"
-c"
,
"
chown
-R
0:101
/logs
/cache
&&
chmod
-R
g+w
/logs
/cache"
]
volumeMounts
:
-
name
:
mglogs-persistent-storage
mountPath
:
/logs
readOnly
:
false
-
name
:
mgcache-persistent-storage
mountPath
:
/cache
readOnly
:
false
containers
:
-
name
:
{{
.Chart.Name
}}
image
:
"
{{
.Values.image.repository
}}:{{
.Values.image.tag
}}"
...
...
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