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
+11-14Lines changed: 11 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,10 +31,12 @@ 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
-
* Create Kubernetes secrets that contain template macro values.
35
-
* Set your domain `configOverrideSecrets` to reference the aforementioned secrets.
34
+
* If templates leverage 'secret macros':
35
+
* Create Kubernetes secrets that contain template macro values.
36
+
* Set your domain `configOverrideSecrets` to reference the aforementioned secrets.
36
37
* Stop all running WebLogic Server pods in your domain. (See [Server Lifecycle](server-lifecycle.md).)
37
38
* Start or restart your domain. (See [Server Lifecycle](server-lifecycle.md).)
39
+
* Verify your overrides are taking effect. (See [Debugging](#debugging)).
38
40
39
41
For a detailed walk-through of these steps, see the [Step-by-step guide](#step-by-step-guide).
@@ -271,7 +272,7 @@ The following `jdbc-testDS.xml` override template demonstrates setting the URL,
271
272
kubectl -n MYNAMESPACE create cm MYCMNAME --from-file ./mydir
272
273
kubectl -n MYNAMESPACE label cm MYCMNAME weblogic.domainUID=DOMAIN_UID
273
274
```
274
-
* Create any Kubernetes secrets referenced by a template macro.
275
+
* Create any Kubernetes secrets referenced by a template 'secret macro'.
275
276
* Secrets can have multiple keys (files) that can hold either cleartext or base64 values. We recommend that you use base64 values for passwords via `Opaque` type secrets in their `data` field, so that they can't be easily read at a casual glance. For more information, see https://kubernetes.io/docs/concepts/configuration/secret/.
276
277
* Secrets must be in the same Kubernetes namespace as the domain.
277
278
* If a secret is going to be used by a single `DOMAIN_UID`, we recommend adding the `weblogic.domainUID=<mydomainuid>` label to help track the resource.
@@ -289,10 +290,6 @@ The following `jdbc-testDS.xml` override template demonstrates setting the URL,
289
290
* To stop all running WebLogic Server pods in your domain, and then start/restart the domain:
290
291
* Set your domain resource serverRestartPolicy to NEVER, wait, and restore back to ALWAYS or IF_NEEDED (see [Server Lifecycle](server-lifecycle.md).)
291
292
* Or delete your domain resource, wait, and then reapply it.
292
-
* Verify overrides take effect after any change to overrides or to your domain home configuration.
293
-
* Stop all running WebLogic Server pods in your domain, and then start/restart the domain.
294
-
* Set your domain resource serverRestartPolicy to NEVER, wait, and restore back to ALWAYS or IF_NEEDED (see [Server Lifecycle](server-lifecycle.md).)
295
-
* Or delete your domain resource, wait, and then reapply it.
296
293
* See [Debugging](#debugging) for ways to check if the situational configuration is taking effect or if there are errors.
297
294
298
295
Example domain resource yaml:
@@ -335,7 +332,7 @@ Incorrectly formatted override files may be accepted without warnings or errors,
335
332
* This line indicates a situational configuration file has been loaded.
336
333
* If the search yields Warning or Error lines, then the format of the custom situational configuration template is incorrect, and the Warning or Error text should describe the problem.
337
334
* Note: The following exception may show up in your server logs when overriding JDBC modules. It is not expected to affect runtime behavior, and can be ignored (a fix is pending for them):
338
-
```
335
+
* ```
339
336
java.lang.NullPointerException
340
337
at weblogic.management.provider.internal.situationalconfig.SituationalConfigManag
0 commit comments