File tree Expand file tree Collapse file tree 5 files changed +8
-6
lines changed
samples/scripts/create-weblogic-domain/manually-create-domain
src/test/java/oracle/kubernetes/operator/utils
model/src/test/resources/oracle/kubernetes/weblogic/domain/v3 Expand file tree Collapse file tree 5 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 5
5
# This is an example of how to define a Domain resource. Please read through the comments which explain
6
6
# what updates are needed.
7
7
#
8
- apiVersion : " weblogic.oracle/v3 "
8
+ apiVersion : " weblogic.oracle/v3alpha1 "
9
9
kind : Domain
10
10
metadata :
11
11
# Update this with the `domainUID` of your domain:
Original file line number Diff line number Diff line change 69
69
import java .util .ArrayList ;
70
70
import java .util .List ;
71
71
import java .util .Map ;
72
+ import oracle .kubernetes .operator .KubernetesConstants ;
72
73
import oracle .kubernetes .weblogic .domain .v3 .Domain ;
73
74
import oracle .kubernetes .weblogic .domain .v3 .DomainSpec ;
74
75
import org .hamcrest .Description ;
@@ -85,7 +86,8 @@ public class KubernetesArtifactUtils {
85
86
public static final String API_VERSION_REGISTRATION_V1BETA1 = "apiregistration.k8s.io/v1beta1" ;
86
87
public static final String API_VERSION_RBAC_V1 = API_GROUP_RBAC + "/v1" ;
87
88
public static final String API_VERSION_RBAC_V1BETA1 = API_GROUP_RBAC + "/v1beta1" ;
88
- public static final String API_VERSION_ORACLE_V2 = "weblogic.oracle/v3" ;
89
+ public static final String API_VERSION_WEBLOGIC_ORACLE =
90
+ KubernetesConstants .DOMAIN_GROUP + "/" + KubernetesConstants .DOMAIN_VERSION ;
89
91
public static final String API_VERSION_V1 = "v1" ;
90
92
public static final String API_VERSION_VOYAGER_V1BETA1 = "voyager.appscode.com/v1beta1" ;
91
93
@@ -115,7 +117,7 @@ public static V1ServiceAccount newServiceAccount() {
115
117
}
116
118
117
119
public static Domain newDomain () {
118
- return (new Domain ()).withApiVersion (API_VERSION_ORACLE_V2 ).withKind (KIND_DOMAIN );
120
+ return (new Domain ()).withApiVersion (API_VERSION_WEBLOGIC_ORACLE ).withKind (KIND_DOMAIN );
119
121
}
120
122
121
123
public static ExtensionsV1beta1Deployment newDeployment () {
Original file line number Diff line number Diff line change 2
2
# Licensed under the Universal Permissive License v 1.0 as shown at
3
3
# http://oss.oracle.com/licenses/upl.
4
4
5
- apiVersion : " weblogic.oracle/v3 "
5
+ apiVersion : " weblogic.oracle/v3alpha1 "
6
6
kind : Domain
7
7
metadata :
8
8
name : domain2
Original file line number Diff line number Diff line change 2
2
# Licensed under the Universal Permissive License v 1.0 as shown at
3
3
# http://oss.oracle.com/licenses/upl.
4
4
5
- apiVersion : " weblogic.oracle/v3 "
5
+ apiVersion : " weblogic.oracle/v3alpha1 "
6
6
kind : Domain
7
7
metadata :
8
8
name : domain2
Original file line number Diff line number Diff line change 2
2
# Licensed under the Universal Permissive License v 1.0 as shown at
3
3
# http://oss.oracle.com/licenses/upl.
4
4
5
- apiVersion : " weblogic.oracle/v3 "
5
+ apiVersion : " weblogic.oracle/v3alpha1 "
6
6
kind : Domain
7
7
metadata :
8
8
name : domain1
You can’t perform that action at this time.
0 commit comments