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
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -33,21 +33,21 @@ You can use overrides to customize domains as they are moved from QA to producti
33
33
* Set your domain resource `configOverrides` to the name of this configuration map.
34
34
* Create Kubernetes secrets that contain template macro values.
35
35
* Set your domain `configOverrideSecrets` to reference the aforementioned secrets.
36
-
* Stop all running WebLogic server pods in your domain. (See [Server Lifecycle](server-lifecycle.md).)
36
+
* Stop all running WebLogic Server pods in your domain. (See [Server Lifecycle](server-lifecycle.md).)
37
37
* Start or restart your domain. (See [Server Lifecycle](server-lifecycle.md).)
38
38
39
-
For a detailed walk-through of these steps, see [Step-by-step guide](#step-by-step-guide).
39
+
For a detailed walk-through of these steps, see the [Step-by-step guide](#step-by-step-guide).
40
40
41
41
## How do overrides work during runtime?
42
42
43
-
* When a domain is first deployed, or is restarted after shutting down all WebLogic server pods, the operator will:
43
+
* When a domain is first deployed, or is restarted after shutting down all the WebLogic Server pods, the operator will:
44
44
* Resolve any macros in your override templates.
45
45
* Place expanded override templates in the `optconfig` directory located in each WebLogic domain home directory.
46
46
* When the WebLogic Servers start, they will:
47
47
* Automatically load the override files from the `optconfig` directory.
48
48
* Use the override values in the override files instead of the values specified in their `config.xml` or system resource XML files.
49
49
50
-
For a detailed walk-through of the runtime flow, see [Internal design flow](#internal-design-flow).
50
+
For a detailed walk-through of the runtime flow, see the [Internal design flow](#internal-design-flow).
51
51
52
52
---
53
53
# Prerequisites
@@ -171,7 +171,7 @@ Two types of macros are supported `environment variable macros` and `secret macr
171
171
172
172
* Secret macros have the syntax `${secret:SECRETNAME.SECRETKEY}` and `${secret:SECRETNAME.SECRETKEY:encrypt}`.
173
173
174
-
The secret macro `SECRETNAME` field must reference the name of a Kubernetes secret, and the `SECRETKEY` field must reference a key within that secret. For example, if you have created a secret named `dbuser` with a key named `username` that contains the value `scott`, then the macro `${secret:dbuser.username}` will be replaced with the word `scott` before the template is copied into its WebLogic server pod.
174
+
The secret macro `SECRETNAME` field must reference the name of a Kubernetes secret, and the `SECRETKEY` field must reference a key within that secret. For example, if you have created a secret named `dbuser` with a key named `username` that contains the value `scott`, then the macro `${secret:dbuser.username}` will be replaced with the word `scott` before the template is copied into its WebLogic Server pod.
175
175
176
176
**SECURITY NOTE: Use the `:encrypt` suffix in a secret macro to encrypt its replacement value with the WebLogic WLST `encrypt` command (instead of leaving it at its plain text value). This is useful for overriding MBean attributes that expect encrypted values, such as the `password-encrypted` field of a data source, and is also useful for ensuring that a custom override situational configuration file the operator places in the domain home does not expose passwords in plain-text.**
177
177
@@ -259,13 +259,13 @@ The following `jdbc-testDS.xml` override template demonstrates setting the URL,
259
259
* Configure the names of each secret in domain CR.
260
260
* If the secret contains the WebLogic admin `username` and `password` keys, set the domain CR `webLogicCredentialsSecret` field.
261
261
* For all other secrets, add them to domain CR `configOverrideSecrets` field.
262
-
* Stop all running WebLogic server pods in your domain. (See [Server Lifecycle](server-lifecycle.md).)
262
+
* Stop all running WebLogic Server pods in your domain. (See [Server Lifecycle](server-lifecycle.md).)
263
263
* Start or restart your domain. (See [Server Lifecycle](server-lifecycle.md).)
264
264
* See [Debugging](#debugging) for ways to check if the situational configuration is taking effect or if there are errors.
265
265
266
-
**IMPORTANT: Custom override changes, 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.**
266
+
**IMPORTANT: Custom override changes, 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.**
267
267
268
-
**IMPORTANT: Incorrectly formatted override files are 'somewhat' silently ignored. WebLogic Servers log errors or warnings when they detect an incorrectly formatted configuration override template file, but will still boot, and will skip overriding. So it is important to make sure template files are correct in a QA environment by checking your WebLogic pod logs for situational configuration errors and warnings, before attempting to use them in production.**
268
+
**IMPORTANT: Incorrectly formatted override files are 'somewhat' silently ignored. WebLogic Servers log errors or warnings when they detect an incorrectly formatted configuration override template file, but will still boot, and will skip overriding. So it is important to make sure that the template files are correct in a QA environment by checking your WebLogic pod logs for situational configuration errors and warnings, before attempting to use them in production.**
**IMPORTANT: Custom override changes, 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.**
331
+
**IMPORTANT: Custom override changes, 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.**
332
332
333
-
**IMPORTANT: Incorrectly formatted override files are 'somewhat' silently ignored. WebLogic Servers log errors or warnings when they detect an incorrectly formatted configuration override template file, but will still boot, and will skip overriding. So it is important to make sure template files are correct in a QA environment by checking your WebLogic pod logs for situational configuration errors and warnings, before attempting to use them in production.**
333
+
**IMPORTANT: Incorrectly formatted override files are 'somewhat' silently ignored. WebLogic Servers log errors or warnings when they detect an incorrectly formatted configuration override template file, but will still boot, and will skip overriding. So it is important to make sure that the template files are correct in a QA environment by checking your WebLogic pod logs for situational configuration errors and warnings, before attempting to use them in production.**
0 commit comments