File tree Expand file tree Collapse file tree 4 files changed +27
-0
lines changed Expand file tree Collapse file tree 4 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -2893,6 +2893,22 @@ inherit:
2893
2893
file : options-shared.yaml
2894
2894
---
2895
2895
program : mongod
2896
+ name : outputConfig
2897
+ args : null
2898
+ directive : option
2899
+ description : |
2900
+
2901
+ .. versionadded:: 4.2
2902
+
2903
+ Outputs the resolved YAML configuration document for the {{program}} to ``stdout``
2904
+ and halts the server instance. For configuration options using externally
2905
+ sourced values, {{role}} returns the resolved value for those options. This
2906
+ may include any configured passwords or secrets previously obfuscated through
2907
+ the external source.
2908
+
2909
+ optional : true
2910
+ ---
2911
+ program : mongod
2896
2912
name : enableFreeMonitoring
2897
2913
args : <runtime|on|off>
2898
2914
directive : option
Original file line number Diff line number Diff line change @@ -185,6 +185,13 @@ inherit:
185
185
file : options-mongod.yaml
186
186
---
187
187
program : mongos
188
+ name : outputConfig
189
+ inherit :
190
+ name : outputConfig
191
+ program : mongod
192
+ file : options-mongod.yaml
193
+ ---
194
+ program : mongos
188
195
name : configdb
189
196
args : " <replicasetName>/<config1>,<config2>..."
190
197
directive : option
Original file line number Diff line number Diff line change @@ -132,6 +132,8 @@ Core Options
132
132
133
133
.. include:: /includes/option/option-mongod-serviceExecutor.rst
134
134
135
+ .. include:: /includes/option/option-mongod-outputConfig.rst
136
+
135
137
Free Monitoring
136
138
~~~~~~~~~~~~~~~
137
139
Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ Core Options
102
102
103
103
.. include:: /includes/option/option-mongos-timeZoneInfo.rst
104
104
105
+ .. include:: /includes/option/option-mongos-outputConfig.rst
106
+
105
107
Sharded Cluster Options
106
108
~~~~~~~~~~~~~~~~~~~~~~~
107
109
You can’t perform that action at this time.
0 commit comments