-
Notifications
You must be signed in to change notification settings - Fork 91
Target environment doc changes #1070
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few edits/suggestions
|
||
#### The WebLogic Kubernetes Operator target | ||
|
||
This target environment can be applied by providing the command-line argument `-target wko`. It will provide this additional processing: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This target environment can be applied by providing -> (to change this from passive to active voice) -> You can apply this target environment by providing (if you agree, then please make this change globally)
```yaml | ||
PasswordEncrypted: '@@SECRET:@@ENV:DOMAIN_UID@@-jdbc-generic1:password@@' | ||
``` | ||
When a domain is created or updated using a model with these tokens, the environment variable `DOMAIN_UID` should be set to the domain's UID, and secrets with corresponding names should have been created. See [Model Tokens]({{< relref "/concepts/model#model-tokens" >}}) for more details about using secret tokens. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See [Model Tokens]({{< relref "/concepts/model#model-tokens" >}}) for more details about using secret tokens. -> For more details about using secret tokens, see [Model Tokens]({{< relref "/concepts/model#model-tokens" >}}). (this is the standard Oracle style for providing this type of cross-reference; please make this change globally)
``` | ||
The script should be updated with correct `<user>` and `<password>` values as required. It may be necessary to change the `NAMESPACE` and `DOMAIN_UID` variables at the top of the script if they are different in the target environment. | ||
|
||
The script performs a check to determine if any generated secret names are more than 63 characters in length, since that will prevent them from being mounted correctly in the Kubernetes environment. If any secret names exceed this limit, they will need to be shortened in this script, in the model files, and in the domain resource file. Each shortened name should be distinct from other secret names. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since -> because (since – don't use to mean for the reason of; use because. Use since only for matters of time, for example, since the last time the program was run.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All your doc edits look good.
Re-organize and add secret credentials information.
Internal Jira WDT-507