Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geosphere-mapserver
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cspp_geo
geosphere
geosphere-mapserver
Commits
fba3d122
Verified
Commit
fba3d122
authored
4 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Fix deployment volume indentation and add missing volume mounts
parent
4aafadc8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#12292
passed
4 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
chart/geosphere-mapserver/templates/deployment.yaml
+24
-14
24 additions, 14 deletions
chart/geosphere-mapserver/templates/deployment.yaml
with
24 additions
and
14 deletions
chart/geosphere-mapserver/templates/deployment.yaml
+
24
−
14
View file @
fba3d122
...
...
@@ -20,20 +20,20 @@ spec:
{{
- end
}}
securityContext
:
{{
- toYaml .Values.podSecurityContext | nindent 8
}}
volumes
:
{{
- if .Values.source.existingClaim
}}
-
name
:
src
persistentVolumeClaim
:
claimName
:
"
{{
.Values.source.existingClaim
}}"
{{
- else
}}
# TODO: For testing only (should require s3 source)
-
name
:
src
emptyDir
:
{}
{{
- end
}}
# put shapefiles in memory storage (small)
-
name
:
dst
emptyDir
:
medium
:
Memory
volumes
:
{{
- if .Values.source.existingClaim
}}
-
name
:
src
persistentVolumeClaim
:
claimName
:
"
{{
.Values.source.existingClaim
}}"
{{
- else
}}
# TODO: For testing only (should require s3 source)
-
name
:
src
emptyDir
:
{}
{{
- end
}}
# put shapefiles in memory storage (small)
-
name
:
dst
emptyDir
:
medium
:
Memory
containers
:
-
name
:
{{
.Chart.Name
}}
securityContext
:
...
...
@@ -47,6 +47,11 @@ spec:
value
:
"
{{
join
"
"
.Values.platforms
}}"
-
name
:
WMS_SECTORS
value
:
"
{{
join
"
"
.Values.sectors
}}"
volumeMounts
:
-
name
:
src
mountPath
:
"
/data"
-
name
:
dst
mountPath
:
"
/dst"
ports
:
-
name
:
http
containerPort
:
80
...
...
@@ -66,6 +71,11 @@ spec:
{{
- toYaml .Values.securityContext | nindent 12
}}
image
:
"
{{
.Values.tileGen.repository
}}:{{
.Chart.AppVersion
}}"
imagePullPolicy
:
{{
.Values.tileGen.pullPolicy
}}
volumeMounts
:
-
name
:
src
mountPath
:
"
/data"
-
name
:
dst
mountPath
:
"
/dst"
env
:
-
name
:
G2G_PRODUCTS
value
:
"
{{
join
"
"
.Values.products
}}"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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