Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
charts
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
charts
Commits
7897c337
Commit
7897c337
authored
Jun 19, 2018
by
Guangbo Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed mongodb auth key issue and update values
parent
88c9db61
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
2 deletions
+20
-2
questions.yml
charts/mongodb-replicaset/v3.3.0/questions.yml
+2
-2
mongodb-statefulset.yaml
...godb-replicaset/v3.3.0/templates/mongodb-statefulset.yaml
+4
-0
values.yaml
charts/mongodb-replicaset/v3.3.0/values.yaml
+14
-0
No files found.
charts/mongodb-replicaset/v3.3.0/questions.yml
View file @
7897c337
...
...
@@ -52,7 +52,7 @@ questions:
required
:
true
group
:
"
MongoDB
Settings"
-
variable
:
auth.enabled
default
:
"
false"
default
:
true
description
:
"
If
true,
keyfile
access
control
is
enabled"
type
:
boolean
label
:
Enable Auth
...
...
@@ -61,7 +61,7 @@ questions:
group
:
"
MongoDB
Settings"
subquestions
:
-
variable
:
auth.key
default
:
"
my
secret
key"
default
:
"
my
auth
key"
description
:
"
Key
for
internal
authentication,
https://docs.mongodb.com/v3.0/tutorial/enable-internal-authentication/"
type
:
string
label
:
Auth Key
...
...
charts/mongodb-replicaset/v3.3.0/templates/mongodb-statefulset.yaml
View file @
7897c337
...
...
@@ -8,6 +8,9 @@ metadata:
release
:
{{
.Release.Name
}}
name
:
{{
template "mongodb-replicaset.fullname" .
}}
spec
:
podManagementPolicy
:
{{
.Values.podManagementPolicy
}}
updateStrategy
:
{{
toYaml .Values.updateStrategy | indent 4
}}
selector
:
matchLabels
:
app
:
{{
template "mongodb-replicaset.name" .
}}
...
...
@@ -215,6 +218,7 @@ spec:
emptyDir
:
{}
-
name
:
configdir
emptyDir
:
{}
terminationGracePeriodSeconds
:
{{
.Values.terminationGracePeriodSeconds
}}
{{
- if .Values.persistentVolume.enabled
}}
volumeClaimTemplates
:
-
metadata
:
...
...
charts/mongodb-replicaset/v3.3.0/values.yaml
View file @
7897c337
...
...
@@ -7,6 +7,15 @@ podDisruptionBudget: {}
# maxUnavailable: 1
# minAvailable: 2
## The StatefulSet Update Strategy which Kafka will use when changes are applied.
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
updateStrategy
:
type
:
"
OnDelete"
## Start and stop pods in Parallel or OrderedReady (one-by-one.) Note - Can not change after first release.
## ref: https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#pod-management-policy
podManagementPolicy
:
OrderedReady
auth
:
enabled
:
false
# adminUser: username
...
...
@@ -88,6 +97,11 @@ tls:
# Entries for the MongoDB config file
configmap
:
## Period to wait for broker graceful shutdown (sigterm) before pod is killed (sigkill)
## ref: https://kubernetes-v1-4.github.io/docs/user-guide/production-pods/#lifecycle-hooks-and-termination-notice
## ref: https://kafka.apache.org/10/documentation.html#brokerconfigs controlled.shutdown.*
terminationGracePeriodSeconds
:
30
# Readiness probe
readinessProbe
:
initialDelaySeconds
:
5
...
...
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