Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webeos-deployment
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
webservices
webeos
webeos-deployment
Commits
9ddb614d
Commit
9ddb614d
authored
1 year ago
by
Jack Henschel
Browse files
Options
Downloads
Patches
Plain Diff
Fix php-fpm healthchecks
parent
88e43502
No related branches found
Branches containing commit
No related tags found
1 merge request
!51
Fix php-fpm healthchecks
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
el9/templates/deployment.yaml
+3
-0
3 additions, 0 deletions
el9/templates/deployment.yaml
el9/values.yaml
+4
-0
4 additions, 0 deletions
el9/values.yaml
with
7 additions
and
0 deletions
el9/templates/deployment.yaml
+
3
−
0
View file @
9ddb614d
...
@@ -89,6 +89,9 @@ spec:
...
@@ -89,6 +89,9 @@ spec:
dnsConfig
:
dnsConfig
:
options
:
options
:
-
name
:
single-request
-
name
:
single-request
# We are not using service-discovery based on environment variables
# https://kubernetes.io/docs/tutorials/services/connect-applications-service/#environment-variables
enableServiceLinks
:
false
restartPolicy
:
Always
restartPolicy
:
Always
serviceAccountName
:
{{
.Release.Name
}}
serviceAccountName
:
{{
.Release.Name
}}
# We want to limit the permissions on directories mounted by the httpd container to not allow users
# We want to limit the permissions on directories mounted by the httpd container to not allow users
...
...
This diff is collapsed.
Click to expand it.
el9/values.yaml
+
4
−
0
View file @
9ddb614d
...
@@ -156,6 +156,8 @@ containers:
...
@@ -156,6 +156,8 @@ containers:
-
|
-
|
# check that PHP-FPM is responding
# check that PHP-FPM is responding
function check_php_fpm {
function check_php_fpm {
# "env -i" runs the command without extra environment variables
env -i \
SCRIPT_NAME=/ping \
SCRIPT_NAME=/ping \
SCRIPT_FILENAME=/ping \
SCRIPT_FILENAME=/ping \
REQUEST_METHOD=GET \
REQUEST_METHOD=GET \
...
@@ -175,6 +177,8 @@ containers:
...
@@ -175,6 +177,8 @@ containers:
-
|
-
|
# check that PHP-FPM is responding
# check that PHP-FPM is responding
function check_php_fpm {
function check_php_fpm {
# "env -i" runs the command without extra environment variables
env -i \
SCRIPT_NAME=/ping \
SCRIPT_NAME=/ping \
SCRIPT_FILENAME=/ping \
SCRIPT_FILENAME=/ping \
REQUEST_METHOD=GET \
REQUEST_METHOD=GET \
...
...
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