Skip to content

Commit 9e67839

Browse files
committed
Added default image value, image in example
1 parent 71477e3 commit 9e67839

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

site/kubernetes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ metadata:
1919
name: DemoDomain
2020
spec:
2121
domainHome: /u01/mydomain
22+
image: '--FIX ME--'
2223
imagePullSecrets:
2324
- name: '--FIX ME--'
2425
webLogicCredentialsSecret: '--FIX ME--'
@@ -29,7 +30,7 @@ spec:
2930
replicas: 4
3031
```
3132
32-
For this example, the user is expected to fill in the secrets information identified by `--FIX ME--` in the domain resource output. The value for `domainHome` was set from the command line. The `kind` and `name` were set to the domain name derived from the topology section of the model, or the default `base_domain`. The cluster entries are pulled from the topology section of the model, and their replica counts were derived from the number of servers for each cluster.
33+
For this example, the user is expected to fill in the image and secrets information identified by `--FIX ME--` in the domain resource output. The value for `domainHome` was set from the command line. The `kind` and `name` were set to the domain name derived from the topology section of the model, or the default `base_domain`. The cluster entries are pulled from the topology section of the model, and their replica counts were derived from the number of servers for each cluster.
3334

3435
For more advanced configurations, the user can populate the `kubernetes` section of the WDT model, and those values will appear in the resulting domain resources file. This model section overrides and adds some values to the result.
3536
```yaml
@@ -38,6 +39,7 @@ kubernetes:
3839
name: myName
3940
namespace: myNamespace
4041
spec:
42+
image: 'my.repo/my-image:2.0'
4143
imagePullSecrets:
4244
WEBLOGIC_IMAGE_PULL_SECRET_NAME:
4345
webLogicCredentialsSecret:
@@ -56,6 +58,7 @@ metadata:
5658
name: myName
5759
namespace: myNamespace
5860
spec:
61+
image: 'my.repo/my-image:2.0'
5962
imagePullSecrets:
6063
- name: WEBLOGIC_IMAGE_PULL_SECRET_NAME
6164
webLogicCredentialsSecret:

0 commit comments

Comments
 (0)