Skip to content

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

Merged
merged 4 commits into from
Feb 4, 2022
Merged

Conversation

rakillen
Copy link
Member

@rakillen rakillen commented Feb 1, 2022

Re-organize and add secret credentials information.

Internal Jira WDT-507

Copy link
Member

@rosemarymarano rosemarymarano left a 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:
Copy link
Member

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.
Copy link
Member

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.
Copy link
Member

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.)

Copy link
Member

@rosemarymarano rosemarymarano left a 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.

@jshum2479 jshum2479 self-requested a review February 4, 2022 00:30
@robertpatrick robertpatrick merged commit 81e4f69 into main Feb 4, 2022
@robertpatrick robertpatrick deleted the JIRA-WDT-507-target-docs branch February 4, 2022 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants