Skip to content

Commit 2de9936

Browse files
authored
correct documentation for -target output filenames (#908)
1 parent 42cb413 commit 2de9936

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

documentation/1.9/content/userguide/target_env.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,18 @@ You can define a new or extended target environment with a new `target-name` in
4040
Here is an example of a target environment file:
4141
```
4242
{
43-
"model_filters" : {
43+
"model_filters" : {
4444
"discover": [
45-
{ "name": "k8s_prep", "path": "@@TARGET_CONFIG_DIR@@/k8s_operator_filter.py" }
45+
{ "name": "vz_prep", "path": "@@TARGET_CONFIG_DIR@@/vz_filter.py" }
4646
]
47-
},
48-
"variable_injectors" : {"PORT": {},"HOST": {},"URL": {}},
49-
"validation_method" : "lax",
50-
"credentials_method" : "secrets",
51-
"wls_credentials_name" : "__weblogic-credentials__",
52-
"additional_output" : "binding.yaml,model.yaml"
47+
},
48+
"variable_injectors" : {"PORT": {},"HOST": {},"URL": {}},
49+
"validation_method" : "lax",
50+
"credentials_method" : "secrets",
51+
"credentials_output_method" : "script",
52+
"wls_credentials_name" : "__weblogic-credentials__",
53+
"additional_secrets": "runtime-encryption-secret",
54+
"additional_output" : "vz-application.yaml"
5355
}
5456
```
5557
Each of the fields in this example is optional, and can be customized.
@@ -98,7 +100,7 @@ This target environment can be applied by providing the command-line argument `-
98100
- Variables will be injected into the model for port, host, and URL attributes
99101
- `lax` validation will be applied for the resulting model
100102
- Credentials in the model will be replaced with references to Kubernetes secrets, and a script to create those secrets will be produced
101-
- An additional Kubernetes resource file, `model.yaml`, will be produced, with cluster and naming information derived from the model
103+
- An additional Kubernetes resource file, `wko-domain.yaml`, will be produced, with cluster and naming information derived from the model
102104

103105
#### The Verrazzano target
104106
This target environment can be applied by providing the command-line argument `-target vz`. It will provide this additional processing:
@@ -107,7 +109,7 @@ This target environment can be applied by providing the command-line argument `-
107109
- Variables will be injected into the model for port, host, and URL attributes
108110
- `lax` validation will be applied for the resulting model
109111
- Credentials in the model will be replaced with placeholder values, and a script to create corresponding secrets will be produced
110-
- Two additional Kubernetes resource files, `model.yaml` and `binding.yaml`, will be produced, with cluster and data source information derived from the model
112+
- Two additional Kubernetes resource files, `vz-application.yaml`, will be produced, with cluster and data source information derived from the model
111113

112114
#### Generic Kubernetes target
113115

0 commit comments

Comments
 (0)