Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mongodb-helm
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gaia-X
Trust Services API
mongodb-helm
Commits
f9f4634c
Commit
f9f4634c
authored
2 years ago
by
georgi.todorov
Browse files
Options
Downloads
Patches
Plain Diff
remove liveness probe
parent
3986cb77
No related branches found
No related tags found
1 merge request
!1
mongo-custom-helm
Pipeline
#58403
passed
2 years ago
Stage: lint
Stage: package
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/mongodb-statefulset.yaml
+1
-12
1 addition, 12 deletions
templates/mongodb-statefulset.yaml
with
1 addition
and
12 deletions
templates/mongodb-statefulset.yaml
+
1
−
12
View file @
f9f4634c
...
...
@@ -37,17 +37,6 @@ spec:
volumeMounts
:
-
name
:
mongo-persistent-storage
mountPath
:
/data/db
livenessProbe
:
exec
:
command
:
-
>-
test $(echo "rs.initiate().ok || rs.status().ok" | mongo -u
root -p root --quiet) -eq 1
initialDelaySeconds
:
10
timeoutSeconds
:
1
periodSeconds
:
30
successThreshold
:
1
failureThreshold
:
3
terminationMessagePath
:
/dev/termination-log
terminationMessagePolicy
:
File
imagePullPolicy
:
Always
...
...
@@ -55,7 +44,7 @@ spec:
image
:
cvallance/mongo-k8s-sidecar
env
:
-
name
:
MONGO_SIDECAR_POD_LABELS
value
:
name=
{{ template "mongodb.name" . }}
value
:
name=
mongo
-
name
:
KUBERNETES_MONGO_SERVICE_NAME
value
:
{{
template "mongodb.name" .
}}
resources
:
{}
...
...
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