You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/config-overrides.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ You can use overrides to customize domains as they are moved from QA to producti
31
31
* Override templates (also known as situational configuration templates), with names and syntax as described in [Override template names and syntax](#override-template-names-and-syntax).
32
32
* A file named `version.txt` that contains the string `2.0`.
33
33
* Set your domain resource `configOverrides` to the name of this configuration map.
34
-
* If templates leverage 'secret macros':
34
+
* If templates leverage `secret macros`:
35
35
* Create Kubernetes secrets that contain template macro values.
36
36
* Set your domain `configOverrideSecrets` to reference the aforementioned secrets.
37
37
* Stop all running WebLogic Server pods in your domain. (See [Server Lifecycle](server-lifecycle.md).)
@@ -81,7 +81,7 @@ Typical attributes for overrides include:
81
81
* Network channel listen address, port, and enabled configuration
82
82
* Server and domain log locations
83
83
* Node Manager related configuration
84
-
* Changing any existing mbean name
84
+
* Changing any existing MBean name
85
85
86
86
**Specifically, do not use custom overrides for:**
87
87
@@ -95,7 +95,7 @@ Typical attributes for overrides include:
95
95
* Network Access Point (custom channel), listen address, or port
96
96
* Server and domain log locations -- use the `logHome` domain setting instead
97
97
* Node Manager access credentials
98
-
* Any existing mbean name (for example, you cannot change the domain name)
98
+
* Any existing MBean name (for example, you cannot change the domain name)
99
99
100
100
Note that it's OK, even expected, to override Network Access Point `public` or `external` addresses and ports.
101
101
@@ -167,7 +167,7 @@ _`wldf-MODULENAME.xml`_
167
167
168
168
The operator supports embedding macros within override templates. This helps make your templates flexibly handle multiple use cases, such as specifying a different URL, user name, and password for a different deployment.
169
169
170
-
Two types of macros are supported `environment variable macros` and `secret macros`:
170
+
Two types of macros are supported,`environment variable macros` and `secret macros`:
171
171
172
172
* Environment variable macros have the syntax `${env:ENV-VAR-NAME}`, where the supported environment variables include `DOMAIN_UID`, `DOMAIN_NAME`, `DOMAIN_HOME`, and `LOG_HOME`.
173
173
@@ -184,15 +184,15 @@ The secret macro `SECRETNAME` field must reference the name of a Kubernetes secr
184
184
* Reference the name of the current bean and each parent bean in any hierarchy you override.
185
185
* See [Override template samples](#override-template-samples) for examples.
186
186
* Use situational config `replace` and `add` verbs as follows:
187
-
* If you are adding a new bean that doesn't already exist in your original domain home config.xml, specify `add` on the mbean itself and on each attribute within the bean.
187
+
* If you are adding a new bean that doesn't already exist in your original domain home `config.xml`, specify `add` on the MBean itself and on each attribute within the bean.
188
188
* See the `server-debug` stanza in [Override template samples](#override-template-samples) below for an example.
189
-
* If you are adding a new attribute to an existing bean in the domain home config.xml, the attribute needs an `add` verb.
189
+
* If you are adding a new attribute to an existing bean in the domain home `config.xml`, the attribute needs an `add` verb.
190
190
* See the `max-message-size` stanza in [Override template samples](#override-template-samples) below for an example.
191
-
* If you are changing the value of an existing attribute within a domain home config.xml, the attribute needs a `replace` verb.
191
+
* If you are changing the value of an existing attribute within a domain home `config.xml`, the attribute needs a `replace` verb.
192
192
* See the `public-address` stanza in [Override template samples](#override-template-samples) below for an example.
193
193
* When overriding `config.xml`, XML namespace `xmlns` abbreviations must be exactly as specified.
194
-
* When overriding config.xml, the XML namespace (`xmlns:` in the XML) must be exactly as specified in [Override template schemas](#override-template-schemas).
195
-
*E.g. use `d:` to reference config.xml beans and attributes, `f:` for `add` and `replace``domain-fragment` verbs, and `s:` to reference the situational config schema.
194
+
* When overriding `config.xml`, the XML namespace (`xmlns:` in the XML) must be exactly as specified in [Override template schemas](#override-template-schemas).
195
+
*For example, use `d:` to reference `config.xml` beans and attributes, `f:` for `add` and `replace``domain-fragment` verbs, and `s:` to reference the situational config schema.
196
196
* It is a best practice to use XML namespace abbreviations `jms:`, `jdbc:`, and `wldf:` respectively for JMS, JDBC, and WLDF module override files.
197
197
198
198
## Override template samples
@@ -231,7 +231,7 @@ The following `config.xml` override file demonstrates:
231
231
232
232
### Overriding a data source module
233
233
234
-
The following `jdbc-testDS.xml` override template demonstrates setting the URL, user name, and password-encrypted fields of a JDBC module named `testDS` via secret macros. The generated situational configuration that replaces the macros with secret values will be located in the `DOMAIN_HOME/optconfig/jdbc` directory. The `password-encrypted` field will be populated with an encrypted value because it uses a secret macro with an `:encrypt` suffix. The secret is named `dbsecret` and contains three keys: `url`, `username`, and `password`.
234
+
The following `jdbc-testDS.xml` override template demonstrates setting the URL, user name, and password-encrypted fields of a JDBC module named `testDS` via `secret macros`. The generated situational configuration that replaces the macros with secret values will be located in the `DOMAIN_HOME/optconfig/jdbc` directory. The `password-encrypted` field will be populated with an encrypted value because it uses a secret macro with an `:encrypt` suffix. The secret is named `dbsecret` and contains three keys: `url`, `username`, and `password`.
235
235
236
236
237
237
```
@@ -285,11 +285,11 @@ The following `jdbc-testDS.xml` override template demonstrates setting the URL,
285
285
* Configure the name of the configuration map in the domain CR `configOverrides` field.
286
286
* Configure the names of each secret in domain CR.
287
287
* If the secret contains the WebLogic admin `username` and `password` keys, set the domain CR `webLogicCredentialsSecret` field.
288
-
* For all other secrets, add them to domain CR `configOverrideSecrets` field. Note: this must be in an array format even if you only add one secret (see the sample domain resource yaml below).
288
+
* For all other secrets, add them to the domain CR `configOverrideSecrets` field. Note: This must be in an array format even if you only add one secret (see the sample domain resource yaml below).
289
289
* Any override changes require stopping all WebLogic pods, applying your domain resource (if it changed), and restarting the WebLogic pods before they can take effect.
290
-
* Custom override changes on an existing running domain, such as updating an override configuration map, a secret, or a domain resource, will not take effect until all running WebLogic Server pods in your domain are shutdown (so no servers are left running), and the domain is subsequently restarted with your new domain resource (if it changed), or with you existing domain resource (if you haven't changed it).
290
+
* Custom override changes on an existing running domain, such as updating an override configuration map, a secret, or a domain resource, will not take effect until all running WebLogic Server pods in your domain are shutdown (so no servers are left running), and the domain is subsequently restarted with your new domain resource (if it changed), or with your existing domain resource (if you haven't changed it).
291
291
* To stop all running WebLogic Server pods in your domain, apply a changed resource, and then start/restart the domain:
292
-
* Set your domain resource serverRestartPolicy to NEVER, wait, and apply your latest domain resource with the serverRestartPolicy restored back to ALWAYS or IF_NEEDED (see [Server Lifecycle](server-lifecycle.md).)
292
+
* Set your domain resource `serverRestartPolicy` to `NEVER`, wait, and apply your latest domain resource with the `serverRestartPolicy` restored back to `ALWAYS` or `IF_NEEDED` (see [Server Lifecycle](server-lifecycle.md).)
293
293
* Or delete your domain resource, wait, and apply your (potentially changed) domain resource.
294
294
* See [Debugging](#debugging) for ways to check if the situational configuration is taking effect or if there are errors.
295
295
@@ -319,14 +319,14 @@ Incorrectly formatted override files may be accepted without warnings or errors,
319
319
320
320
* Make sure you've followed each step in the [Step-by-step guide](#step-by-step-guide).
321
321
322
-
* If WL pods do not come up at all, then:
322
+
* If WebLogic pods do not come up at all, then:
323
323
* In the domain's namespace, see if you can find a job named `DOMAIN_UID-introspect-domain-job` and a corresponding pod named something like `DOMAIN_UID-introspect-domain-job-xxxx`. If so, examine:
0 commit comments