Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wiki
Manage
Activity
Members
Labels
Plan
Issues
53
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MDM Lab
Wiki
Commits
d106662b
Commit
d106662b
authored
1 week ago
by
Remi PLANEL
Browse files
Options
Downloads
Patches
Plain Diff
Fix update wiki
parent
e3d61e79
No related branches found
No related tags found
1 merge request
!237
Fix update wiki
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
deploy/df-wiki/templates/deployment.yaml
+18
-9
18 additions, 9 deletions
deploy/df-wiki/templates/deployment.yaml
deploy/df-wiki/values.yaml
+1
-2
1 addition, 2 deletions
deploy/df-wiki/values.yaml
with
19 additions
and
11 deletions
deploy/df-wiki/templates/deployment.yaml
+
18
−
9
View file @
d106662b
...
...
@@ -29,6 +29,14 @@ spec:
serviceAccountName
:
{{
include "df-wiki.serviceAccountName" .
}}
securityContext
:
{{
- toYaml .Values.podSecurityContext | nindent 8
}}
initContainers
:
-
name
:
init-directory
image
:
busybox
command
:
[
"
/bin/sh"
,
"
-c"
]
args
:
[
"
mkdir
-p
/struct/wiki"
]
volumeMounts
:
-
name
:
structure-data-pvc
mountPath
:
/struct
containers
:
-
name
:
{{
.Chart.Name
}}
securityContext
:
...
...
@@ -39,23 +47,24 @@ spec:
-
name
:
http
containerPort
:
{{
.Values.service.port
}}
protocol
:
TCP
livenessProbe
:
httpGet
:
path
:
/
wiki/
port
:
http
readinessProbe
:
httpGet
:
path
:
/
wiki/
port
:
http
#
livenessProbe:
#
httpGet:
#
path: /
#
port: http
#
readinessProbe:
#
httpGet:
#
path: /
#
port: http
resources
:
{{
- toYaml .Values.resources | nindent 12
}}
volumeMounts
:
-
mountPath
:
/tmp
name
:
tmp
-
name
:
nginx-config
mountPath
:
/etc/nginx/conf.d
/
mountPath
:
/etc/nginx/conf.d
-
name
:
structure-data-pvc
mountPath
:
/usr/share/nginx/html
subPath
:
wiki
-
name
:
website-pvc
mountPath
:
/website
...
...
This diff is collapsed.
Click to expand it.
deploy/df-wiki/values.yaml
+
1
−
2
View file @
d106662b
...
...
@@ -28,8 +28,7 @@ serviceAccount:
podAnnotations
:
{}
podSecurityContext
:
{}
# fsGroup: 2000
fsGroup
:
101
securityContext
:
runAsNonRoot
:
true
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment