Skip to content

Commit f2bd95e

Browse files
authored
(DOCSP-48607) [MEKO] Updating CRD logging properties (#5)
* (DOCSP-48607) Fix capitalization for CRD logging properties. * (DOCSP-48697) Indent after spec.
1 parent 018e0ae commit f2bd95e

File tree

2 files changed

+22
-18
lines changed

2 files changed

+22
-18
lines changed

source/reference/k8s-operator-crd-logging-specification.txt

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,10 @@ the log rotation process by linking to the ConfigMap directly in the |crd|.
241241

242242
Add the following settings to your |onprem| |crd|:
243243

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`
248248

249249
.. note::
250250

@@ -262,17 +262,21 @@ the log rotation process by linking to the ConfigMap directly in the |crd|.
262262
name: ops-manager
263263
namespace: mongodb
264264
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
273268
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
276280

277281
The |k8s-op-short| automatically generates the volume mounts similar to
278282
the preceding example and links the ConfigMap files to the correct locations in

source/reference/k8s-operator-om-specification.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ resources.
121121

122122
|onprem| resources can also use the following settings:
123123

124-
.. setting:: spec.backup.logging.logBackAccessRef
124+
.. setting:: spec.backup.logging.LogBackAccessRef
125125

126126
*Type:* string
127127

@@ -133,7 +133,7 @@ resources.
133133

134134
To learn more, see :ref:`k8s-om-log-rotation-crd`.
135135

136-
.. setting:: spec.backup.logging.logBackRef
136+
.. setting:: spec.backup.logging.LogBackRef
137137

138138
*Type:* string
139139

@@ -145,7 +145,7 @@ resources.
145145
to ensure it replaces the default file in the |onprem| Pods.
146146
To learn more, see :ref:`k8s-om-log-rotation-crd`.
147147

148-
.. setting:: spec.logging.logBackAccessRef
148+
.. setting:: spec.logging.LogBackAccessRef
149149

150150
*Type:* string
151151

@@ -157,7 +157,7 @@ resources.
157157

158158
To learn more, see :ref:`k8s-om-log-rotation-crd`.
159159

160-
.. setting:: spec.logging.logBackRef
160+
.. setting:: spec.logging.LogBackRef
161161

162162
*Type:* string
163163

0 commit comments

Comments
 (0)