Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
MetaGerMaps
Frontend
Commits
7f5951eb
Commit
7f5951eb
authored
1 year ago
by
Dominik Hebeler
Browse files
Options
Downloads
Patches
Plain Diff
deploy correct containers
parent
a26fde92
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
maps/templates/deployment.yaml
+23
-2
23 additions, 2 deletions
maps/templates/deployment.yaml
maps/values.yaml
+2
-5
2 additions, 5 deletions
maps/values.yaml
with
25 additions
and
7 deletions
maps/templates/deployment.yaml
+
23
−
2
View file @
7f5951eb
...
...
@@ -31,7 +31,28 @@ spec:
securityContext
:
{{
- toYaml .Values.podSecurityContext | nindent 8
}}
containers
:
-
name
:
{{
.Chart.Name
}}
-
name
:
fpm
securityContext
:
{{
- toYaml .Values.securityContext | nindent 12
}}
image
:
"
{{
.Values.image.repository
}}:{{
.Values.image.tag
|
default
.Chart.AppVersion
}}"
imagePullPolicy
:
{{
.Values.image.pullPolicy
}}
ports
:
-
name
:
fpm
containerPort
:
9000
protocol
:
TCP
livenessProbe
:
tcpSocket
:
port
:
fpm
readinessProbe
:
tcpSocket
:
port
:
fpm
resources
:
{{
- toYaml .Values.resources | nindent 12
}}
{{
- with .Values.fpm.volumeMounts
}}
volumeMounts
:
{{
- toYaml . | nindent 12
}}
{{
- end
}}
-
name
:
nginx
securityContext
:
{{
- toYaml .Values.securityContext | nindent 12
}}
image
:
"
{{
.Values.image.repository
}}:{{
.Values.image.tag
|
default
.Chart.AppVersion
}}"
...
...
@@ -50,7 +71,7 @@ spec:
port
:
http
resources
:
{{
- toYaml .Values.resources | nindent 12
}}
{{
- with .Values.volumeMounts
}}
{{
- with .Values.
fpm.
volumeMounts
}}
volumeMounts
:
{{
- toYaml . | nindent 12
}}
{{
- end
}}
...
...
This diff is collapsed.
Click to expand it.
maps/values.yaml
+
2
−
5
View file @
7f5951eb
...
...
@@ -85,11 +85,8 @@ volumes: []
# secretName: mysecret
# optional: false
# Additional volumeMounts on the output Deployment definition.
volumeMounts
:
[]
# - name: foo
# mountPath: "/etc/foo"
# readOnly: true
fpm
:
volumeMounts
:
[]
nodeSelector
:
{}
...
...
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