Skip to content

Commit 081c2cb

Browse files
committed
A few minor cleanups
1 parent 6d0a8c4 commit 081c2cb

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

model/src/main/java/oracle/kubernetes/weblogic/domain/v2/BaseConfiguration.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ public abstract class BaseConfiguration {
4949
private String serverStartPolicy;
5050

5151
/**
52-
* Tells the operator whether the customer wants the to restart the pods. The value can be any
53-
* String and it can be defined in domain, cluster or server to restart the different pods. After
54-
* the value is added, the corresponding pods will be terminated and created again, if customer
55-
* modify the value again after the pods were recreated, then pods will again be terminated and
56-
* recreated.
52+
* Tells the operator whether the customer wants to restart the server pods. The value can be any
53+
* String and it can be defined on domain, cluster or server to restart the different pods. After
54+
* the value is added, the corresponding pods will be terminated and created again. If customer
55+
* modifies the value again after the pods were recreated, then the pods will again be terminated
56+
* and recreated.
5757
*
5858
* @since 2.0
5959
*/

model/src/test/resources/oracle/kubernetes/weblogic/domain/v2/domain-sample-3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ spec:
3737
serviceAnnotations:
3838
testKey3: testValue3
3939
longer: shorter
40-
restartVersion: 1
40+
restartVersion: "1"
4141

4242
domainName: base_domain
4343
# The domainUID must be unique across the entire Kubernetes Cluster. Each WebLogic Domain must

model/src/test/resources/oracle/kubernetes/weblogic/domain/v2/domain-sample.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ spec:
6565
configOverrideSecrets: [overrides-secret-1, overrides-secret-2]
6666

6767
# Restart version
68-
restartVersion: 1
68+
restartVersion: "1"
6969

7070
adminServer:
7171
# The Admin Server's NodePort (optional)
@@ -101,7 +101,7 @@ spec:
101101
memory: "256Mi"
102102
server2:
103103
serverStartState: ADMIN
104-
restartVersion: 3
104+
restartVersion: "3"
105105

106106
# If you use this entry, then the rules will be applied to ALL servers that are members of the named clusters.
107107
clusters:
@@ -114,5 +114,5 @@ spec:
114114
value: "-verbose"
115115
- name: USER_MEM_ARGS
116116
value: "-Xms64m -Xmx256m "
117-
restartVersion: 2
117+
restartVersion: "2"
118118

0 commit comments

Comments
 (0)