Skip to content

Commit fe84504

Browse files
committed
Continue removing model-in-image
1 parent 7c13280 commit fe84504

File tree

29 files changed

+29
-1091
lines changed

29 files changed

+29
-1091
lines changed

buildtime-reports/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,6 @@
6363
<artifactId>operator-integration-tests</artifactId>
6464
<version>${project.version}</version>
6565
</dependency>
66-
<dependency>
67-
<groupId>${project.groupId}</groupId>
68-
<artifactId>new-integration-tests</artifactId>
69-
<version>${project.version}</version>
70-
</dependency>
7166
</dependencies>
7267

7368
</project>

docs-source/content/faq/cannot-pull-image.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Here is an example of part of a domain custom resource file with the `imagePullS
9191
specified:
9292

9393
```
94-
apiVersion: "weblogic.oracle/v2"
94+
apiVersion: "weblogic.oracle/v6"
9595
kind: Domain
9696
metadata:
9797
name: domain1
@@ -101,7 +101,7 @@ metadata:
101101
weblogic.domainUID: domain1
102102
spec:
103103
domainHome: /u01/oracle/user_projects/domains/domain1
104-
domainHomeSourceType: Image
104+
domainHomeInImage: true
105105
image: "some.registry.com/owner/domain1:1.0"
106106
imagePullPolicy: "IfNotPresent"
107107
imagePullSecrets:

docs-source/content/samples/simple/domains/domain-home-in-image/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ The content of the generated `domain.yaml`:
183183
#
184184
# This is an example of how to define a Domain resource.
185185
#
186-
apiVersion: "weblogic.oracle/v2"
186+
apiVersion: "weblogic.oracle/v6"
187187
kind: Domain
188188
metadata:
189189
name: domain1
@@ -195,7 +195,7 @@ spec:
195195
# The WebLogic Domain Home
196196
domainHome: /u01/oracle/user_projects/domains/domain1
197197
# Set domain home type to PersistentVolume for domain-in-pv, Image for domain-in-image, or FromModel for model-in-image
198-
domainHomeSourceType: Image
198+
domainHomeInImage: true
199199
# The WebLogic Server Docker image that the operator uses to start the domain
200200
image: "domain-home-in-image:12.2.1.4"
201201
# imagePullPolicy defaults to "Always" if image version is :latest

docs-source/content/samples/simple/domains/domain-home-on-pv/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ The content of the generated `domain.yaml`:
151151
#
152152
# This is an example of how to define a Domain resource.
153153
#
154-
apiVersion: "weblogic.oracle/v2"
154+
apiVersion: "weblogic.oracle/v6"
155155
kind: Domain
156156
metadata:
157157
name: domain1
@@ -163,7 +163,7 @@ spec:
163163
# The WebLogic Domain Home
164164
domainHome: /shared/domains/domain1
165165
# Set domain home type to PersistentVolume for domain-in-pv, Image for domain-in-image, or FromModel for model-in-image
166-
domainHomeSourceType: PersistentVolume
166+
domainHomeInImage: false
167167
# The WebLogic Server Docker image that the operator uses to start the domain
168168
image: "container-registry.oracle.com/middleware/weblogic:12.2.1.4"
169169
# imagePullPolicy defaults to "Always" if image version is :latest

docs-source/content/samples/simple/domains/fmw-domain/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ The content of the generated `domain.yaml`:
168168
#
169169
# This is an example of how to define a Domain resource.
170170
#
171-
apiVersion: "weblogic.oracle/v4"
171+
apiVersion: "weblogic.oracle/v5"
172172
kind: Domain
173173
metadata:
174174
name: fmw-domain
@@ -180,7 +180,7 @@ spec:
180180
# The WebLogic Domain Home
181181
domainHome: /shared/domains/fmw-domain
182182
# Set domain home type to PersistentVolume for domain-in-pv, Image for domain-in-image, or FromModel for model-in-image
183-
domainHomeSourceType: PersistentVolume
183+
domainHomeInImage: false
184184
# The WebLogic Server Docker image that the Operator uses to start the domain
185185
image: "container-registry.oracle.com/middleware/fmw-infrastructure:12.2.1.4"
186186
# imagePullPolicy defaults to "Always" if image version is :latest

docs-source/content/samples/simple/domains/model-in-image/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ Copy the following to a file called `/tmp/mii-sample/mii-initial.yaml` or simila
813813
#
814814
# If you are using 3.0.0-rc1, then the version on the following line
815815
# should be `v7` not `v6`.
816-
apiVersion: "weblogic.oracle/v6"
816+
apiVersion: "weblogic.oracle/v7"
817817
kind: Domain
818818
metadata:
819819
name: sample-domain1
@@ -823,7 +823,7 @@ Copy the following to a file called `/tmp/mii-sample/mii-initial.yaml` or simila
823823
weblogic.domainUID: sample-domain1
824824

825825
spec:
826-
# Set to 'FromModel' to indicate 'Model in Image'.
826+
# For 3.0.0-rc1, set to 'FromModel' to indicate 'Model in Image'.
827827
domainHomeSourceType: FromModel
828828

829829
# The WebLogic Domain Home, this must be a location within

docs-source/content/samples/simple/elastic-stack/weblogic-domain/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ spec:
278278
- clusterName: cluster-1
279279
serverPod:
280280
domainHome: /u01/oracle/user_projects/domains/bobs-bookstore
281-
domainHomeSourceType: Image
281+
domainHomeInImage: true
282282
domainUID: bobs-bookstore
283283
experimental:
284284
istio:

docs-source/content/security/domain-security/image-protection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ metadata:
4141
weblogic.resourceVersion: domain-v2
4242
weblogic.domainUID: domain1
4343
spec:
44-
domainHomeSourceType: Image
44+
domainHomeInImage: true
4545
image: "my-domain-home-in-image"
4646
imagePullPolicy: "IfNotPresent"
4747
imagePullSecrets:

docs-source/content/userguide/managing-domains/domain-resource.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ This example domain YAML file specifies that pods for WebLogic Server instances
413413
# Copyright (c) 2019, 2020, Oracle Corporation and/or its affiliates.
414414
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
415415
#
416-
apiVersion: "weblogic.oracle/v7"
416+
apiVersion: "weblogic.oracle/v6"
417417
kind: Domain
418418
metadata:
419419
name: domain1
@@ -423,7 +423,7 @@ metadata:
423423
weblogic.domainUID: domain1
424424
spec:
425425
domainHome: /u01/oracle/user_projects/domains/domain1
426-
domainHomeSourceType: Image
426+
domainHomeInImage: true
427427
image: "phx.ocir.io/weblogick8s/my-domain-home-in-image:12.2.1.4"
428428
imagePullPolicy: "IfNotPresent"
429429
imagePullSecrets:

operator/src/main/java/oracle/kubernetes/operator/DomainSourceType.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@
55

66
public enum DomainSourceType {
77
Image,
8-
PersistentVolume,
9-
FromModel
8+
PersistentVolume
109
}

0 commit comments

Comments
 (0)