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
55
Issues
55
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
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
2415e7ed
Commit
2415e7ed
authored
Sep 10, 2020
by
Dominik Hebeler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed deployment
parent
948f164c
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
42 deletions
+41
-42
chart/templates/deployment.yaml
chart/templates/deployment.yaml
+41
-42
No files found.
chart/templates/deployment.yaml
View file @
2415e7ed
...
...
@@ -45,7 +45,6 @@ spec:
imagePullSecrets
:
{{
toYaml .Values.image.secrets | indent 10
}}
containers
:
# PHP FPM
-
name
:
{{
.Chart.Name
}}
-phpfpm
image
:
"
{{
.Values.image.repository
}}:{{
.Values.image.tag
}}"
imagePullPolicy
:
{{
.Values.image.pullPolicy
}}
...
...
@@ -56,69 +55,69 @@ spec:
{{
- end
}}
env
:
-
name
:
DATABASE_URL
value
:
{{
.Values.application.database_url | quote
}}
value
:
{{
.Values.application.database_url | quote
}}
-
name
:
GITLAB_ENVIRONMENT_NAME
value
:
{{
.Values.gitlab.envName
}}
value
:
{{
.Values.gitlab.envName
}}
-
name
:
GITLAB_ENVIRONMENT_URL
value
:
{{
.Values.gitlab.envURL
}}
value
:
{{
.Values.gitlab.envURL
}}
ports
:
-
name
:
"
{{
.Values.service.name
}}-phpfpm"
containerPort
:
9000
containerPort
:
9000
livenessProbe
:
tcpSocket
:
tcpSocket
:
port
:
"
{{
.Values.service.name
}}-phpfpm"
initialDelaySeconds
:
{{
.Values.livenessProbe.initialDelaySeconds
}}
timeoutSeconds
:
{{
.Values.livenessProbe.timeoutSeconds
}}
initialDelaySeconds
:
{{
.Values.livenessProbe.initialDelaySeconds
}}
timeoutSeconds
:
{{
.Values.livenessProbe.timeoutSeconds
}}
readinessProbe
:
tcpSocket
:
tcpSocket
:
port
:
"
{{
.Values.service.name
}}-phpfpm"
initialDelaySeconds
:
{{
.Values.readinessProbe.initialDelaySeconds
}}
timeoutSeconds
:
{{
.Values.readinessProbe.timeoutSeconds
}}
initialDelaySeconds
:
{{
.Values.readinessProbe.initialDelaySeconds
}}
timeoutSeconds
:
{{
.Values.readinessProbe.timeoutSeconds
}}
volumeMounts
:
-
name
:
mglogs-persistent-storage
mountPath
:
/html/storage/logs/metager
readOnly
:
false
mountPath
:
/html/storage/logs/metager
readOnly
:
false
-
name
:
env-files
mountPath
:
/root/.env
subPath
:
.env
readOnly
:
true
mountPath
:
/root/.env
subPath
:
.env
readOnly
:
true
-
name
:
env-files
mountPath
:
/html/database/seeds/UsersSeeder.php
subPath
:
UsersSeeder.php
readOnly
:
true
mountPath
:
/html/database/seeds/UsersSeeder.php
subPath
:
UsersSeeder.php
readOnly
:
true
-
name
:
env-files
mountPath
:
/html/config/spam.txt
subPath
:
spam.txt
readOnly
:
true
mountPath
:
/html/config/spam.txt
subPath
:
spam.txt
readOnly
:
true
-
name
:
sumas
mountPath
:
/html/config/sumas.json
subPath
:
sumas.json
readOnly
:
true
mountPath
:
/html/config/sumas.json
subPath
:
sumas.json
readOnly
:
true
-
name
:
sumas-en
mountPath
:
/html/config/sumasEn.json
subPath
:
sumasEn.json
readOnly
:
true
mountPath
:
/html/config/sumasEn.json
subPath
:
sumasEn.json
readOnly
:
true
-
name
:
blacklist
mountPath
:
/html/config/blacklistUrl.txt
subPath
:
blacklistUrl.txt
readOnly
:
true
mountPath
:
/html/config/blacklistUrl.txt
subPath
:
blacklistUrl.txt
readOnly
:
true
-
name
:
blacklist
mountPath
:
/html/config/blacklistDomains.txt
subPath
:
blacklistDomains.txt
readOnly
:
true
mountPath
:
/html/config/blacklistDomains.txt
subPath
:
blacklistDomains.txt
readOnly
:
true
-
name
:
blacklist-ad
mountPath
:
/html/config/adBlacklistUrl.txt
subPath
:
adBlacklistUrl.txt
readOnly
:
true
mountPath
:
/html/config/adBlacklistUrl.txt
subPath
:
adBlacklistUrl.txt
readOnly
:
true
-
name
:
blacklist-ad
mountPath
:
/html/config/adBlacklistDomains.txt
subPath
:
adBlacklistDomains.txt
readOnly
:
true
mountPath
:
/html/config/adBlacklistDomains.txt
subPath
:
adBlacklistDomains.txt
readOnly
:
true
resources
:
requests
:
requests
:
cpu
:
500m
memory
:
500m
# Nginx Container
# Nginx Container
-
name
:
{{
.Chart.Name
}}
-nginx
image
:
"
{{
.Values.image.repository
}}:{{
.Values.image.tag
}}"
command
:
[
"
nginx"
]
...
...
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