File tree Expand file tree Collapse file tree 2 files changed +22
-18
lines changed Expand file tree Collapse file tree 2 files changed +22
-18
lines changed Original file line number Diff line number Diff line change @@ -241,10 +241,10 @@ the log rotation process by linking to the ConfigMap directly in the |crd|.
241
241
242
242
Add the following settings to your |onprem| |crd|:
243
243
244
- * :setting:`spec.logging.logBackAccessRef `
245
- * :setting:`spec.logging.logBackRef `
246
- * :setting:`spec.backup.logging.logBackAccessRef `
247
- * :setting:`spec.backup.logging.logBackRef `
244
+ * :setting:`spec.logging.LogBackAccessRef `
245
+ * :setting:`spec.logging.LogBackRef `
246
+ * :setting:`spec.backup.logging.LogBackAccessRef `
247
+ * :setting:`spec.backup.logging.LogBackRef `
248
248
249
249
.. note::
250
250
@@ -262,17 +262,21 @@ the log rotation process by linking to the ConfigMap directly in the |crd|.
262
262
name: ops-manager
263
263
namespace: mongodb
264
264
spec:
265
- replicas: 1
266
- version: 8.0.0
267
- adminCredentials: ops-manager-admin-secret
268
- logging:
269
- logBackAccessRef: logback-access-config
270
- logBackRef: logback-config
271
- backup:
272
- enabled: true
265
+ replicas: 1
266
+ version: 8.0.0
267
+ adminCredentials: ops-manager-admin-secret
273
268
logging:
274
- logBackAccessRef: my-logback-access-cm-backup
275
- logBackRef: my-logback-cm-backup
269
+ LogBackAccessRef:
270
+ name: logback-access-config
271
+ LogBackRef:
272
+ name: logback-config
273
+ backup:
274
+ enabled: true
275
+ logging:
276
+ LogBackAccessRef:
277
+ name: my-logback-access-cm-backup
278
+ LogBackRef:
279
+ name: my-logback-cm-backup
276
280
277
281
The |k8s-op-short| automatically generates the volume mounts similar to
278
282
the preceding example and links the ConfigMap files to the correct locations in
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ resources.
121
121
122
122
|onprem| resources can also use the following settings:
123
123
124
- .. setting:: spec.backup.logging.logBackAccessRef
124
+ .. setting:: spec.backup.logging.LogBackAccessRef
125
125
126
126
*Type:* string
127
127
@@ -133,7 +133,7 @@ resources.
133
133
134
134
To learn more, see :ref:`k8s-om-log-rotation-crd`.
135
135
136
- .. setting:: spec.backup.logging.logBackRef
136
+ .. setting:: spec.backup.logging.LogBackRef
137
137
138
138
*Type:* string
139
139
@@ -145,7 +145,7 @@ resources.
145
145
to ensure it replaces the default file in the |onprem| Pods.
146
146
To learn more, see :ref:`k8s-om-log-rotation-crd`.
147
147
148
- .. setting:: spec.logging.logBackAccessRef
148
+ .. setting:: spec.logging.LogBackAccessRef
149
149
150
150
*Type:* string
151
151
@@ -157,7 +157,7 @@ resources.
157
157
158
158
To learn more, see :ref:`k8s-om-log-rotation-crd`.
159
159
160
- .. setting:: spec.logging.logBackRef
160
+ .. setting:: spec.logging.LogBackRef
161
161
162
162
*Type:* string
163
163
You can’t perform that action at this time.
0 commit comments