Skip to content

Commit cac071d

Browse files
committed
Remove new schema elements
1 parent 1ccead5 commit cac071d

File tree

12 files changed

+13
-101
lines changed

12 files changed

+13
-101
lines changed

docs/charts/index.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,83 +2,83 @@ apiVersion: v1
22
entries:
33
weblogic-operator:
44
- apiVersion: v1
5-
created: "2020-05-15T16:54:20.429278-04:00"
5+
created: "2020-05-17T22:08:28.342182-04:00"
66
description: Helm chart for configuring the WebLogic operator.
77
digest: 5f4cd8f4f3282b52b5e90a1169f26986e8272671845053606ade9c855fb04151
88
name: weblogic-operator
99
urls:
1010
- https://oracle.github.io/weblogic-kubernetes-operator/charts/weblogic-operator-3.0.0-rc1.tgz
1111
version: 3.0.0-rc1
1212
- apiVersion: v1
13-
created: "2020-05-15T16:54:20.4271-04:00"
13+
created: "2020-05-17T22:08:28.340391-04:00"
1414
description: Helm chart for configuring the WebLogic operator.
15-
digest: c8a648d4f510f346af67134383b913502c431c2d4abb016b266da60ed9f06afc
15+
digest: cf0b011ce86b9f8808d0367253f84e1dcd325c862fe6a67a5205c0fb5eaeda63
1616
name: weblogic-operator
1717
urls:
1818
- https://oracle.github.io/weblogic-kubernetes-operator/charts/weblogic-operator-2.6.0.tgz
1919
version: 2.6.0
2020
- apiVersion: v1
21-
created: "2020-05-15T16:54:20.426209-04:00"
21+
created: "2020-05-17T22:08:28.338351-04:00"
2222
description: Helm chart for configuring the WebLogic operator.
2323
digest: fe41421b7dc45dc8a3b2888d3a626a37f5d3c8e1fa292fb6699deedc5e1db33d
2424
name: weblogic-operator
2525
urls:
2626
- https://oracle.github.io/weblogic-kubernetes-operator/charts/weblogic-operator-2.5.0.tgz
2727
version: 2.5.0
2828
- apiVersion: v1
29-
created: "2020-05-15T16:54:20.424437-04:00"
29+
created: "2020-05-17T22:08:28.336814-04:00"
3030
description: Helm chart for configuring the WebLogic operator.
3131
digest: b36bd32083f67453a62d089a2c09ce38e6655d88ac8a7b38691230c55c40e672
3232
name: weblogic-operator
3333
urls:
3434
- https://oracle.github.io/weblogic-kubernetes-operator/charts/weblogic-operator-2.4.0.tgz
3535
version: 2.4.0
3636
- apiVersion: v1
37-
created: "2020-05-15T16:54:20.422439-04:00"
37+
created: "2020-05-17T22:08:28.334973-04:00"
3838
description: Helm chart for configuring the WebLogic operator.
3939
digest: a3eafe4c2c6ff49384e56421201e59a3737d651af8d5b605b87a19eb1f6f1dc3
4040
name: weblogic-operator
4141
urls:
4242
- https://oracle.github.io/weblogic-kubernetes-operator/charts/weblogic-operator-2.3.1.tgz
4343
version: 2.3.1
4444
- apiVersion: v1
45-
created: "2020-05-15T16:54:20.418447-04:00"
45+
created: "2020-05-17T22:08:28.330917-04:00"
4646
description: Helm chart for configuring the WebLogic operator.
4747
digest: cbc6caaa6eb28e3c7e906ede14b2ae511a0b35fc12a8e3ab629155b09993e8b2
4848
name: weblogic-operator
4949
urls:
5050
- https://oracle.github.io/weblogic-kubernetes-operator/charts/weblogic-operator-2.3.0.tgz
5151
version: 2.3.0
5252
- apiVersion: v1
53-
created: "2020-05-15T16:54:20.415442-04:00"
53+
created: "2020-05-17T22:08:28.325929-04:00"
5454
description: Helm chart for configuring the WebLogic operator.
5555
digest: 23d5a1c554fa8211cc1e86b7ade09460917cb2069e68fb4bfdddafc8db44fdcd
5656
name: weblogic-operator
5757
urls:
5858
- https://oracle.github.io/weblogic-kubernetes-operator/charts/weblogic-operator-2.2.1.tgz
5959
version: 2.2.1
6060
- apiVersion: v1
61-
created: "2020-05-15T16:54:20.413075-04:00"
61+
created: "2020-05-17T22:08:28.324297-04:00"
6262
description: Helm chart for configuring the WebLogic operator.
6363
digest: bba303686cb55d84fe8c0d693a2436e7e686b028085b56e012f6381699a3911f
6464
name: weblogic-operator
6565
urls:
6666
- https://oracle.github.io/weblogic-kubernetes-operator/charts/weblogic-operator-2.2.0.tgz
6767
version: 2.2.0
6868
- apiVersion: v1
69-
created: "2020-05-15T16:54:20.411139-04:00"
69+
created: "2020-05-17T22:08:28.322835-04:00"
7070
description: Helm chart for configuring the WebLogic operator.
7171
digest: 391e23c0969ada5f0cd2a088ddc6f11f237f57521801ed3925db2149a8437a0d
7272
name: weblogic-operator
7373
urls:
7474
- https://oracle.github.io/weblogic-kubernetes-operator/charts/weblogic-operator-2.1.tgz
7575
version: "2.1"
7676
- apiVersion: v1
77-
created: "2020-05-15T16:54:20.407669-04:00"
77+
created: "2020-05-17T22:08:28.321141-04:00"
7878
description: Helm chart for configuring the WebLogic operator.
7979
digest: 298acda78ab73db6b7ba6f2752311bfa40c65874e03fb196b70976192211c1a5
8080
name: weblogic-operator
8181
urls:
8282
- https://oracle.github.io/weblogic-kubernetes-operator/charts/weblogic-operator-2.0.1.tgz
8383
version: 2.0.1
84-
generated: "2020-05-15T16:54:20.405551-04:00"
84+
generated: "2020-05-17T22:08:28.319178-04:00"
-3 Bytes
Binary file not shown.

docs/domains/Domain.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,6 @@
109109
"description": "The name of this cluster. Required",
110110
"type": "string"
111111
},
112-
"allowReplicasBelowMinDynClusterSize": {
113-
"description": "If true (the default), then the number of replicas is allowed to drop below the minimum dynamic cluster size configured in the WebLogic domain home configuration. Otherwise, the operator will ensure that the number of replicas is not less than the minimum dynamic cluster setting. This setting applies to dynamic clusters only.",
114-
"type": "boolean"
115-
},
116112
"serverPod": {
117113
"description": "Configuration affecting server pods.",
118114
"$ref": "#/definitions/ServerPod"

docs/domains/Domain.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ An element representing a cluster in the domain configuration.
7474

7575
| Name | Type | Description |
7676
| --- | --- | --- |
77-
| `allowReplicasBelowMinDynClusterSize` | Boolean | If true (the default), then the number of replicas is allowed to drop below the minimum dynamic cluster size configured in the WebLogic domain home configuration. Otherwise, the operator will ensure that the number of replicas is not less than the minimum dynamic cluster setting. This setting applies to dynamic clusters only. |
7877
| `clusterName` | string | The name of this cluster. Required |
7978
| `clusterService` | [Kubernetes Resource](#kubernetes-resource) | Customization affecting ClusterIP Kubernetes services for the WebLogic cluster. |
8079
| `maxUnavailable` | number | The maximum number of cluster members that can be temporarily unavailable. Defaults to 1. |

docs/domains/index.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,10 +1029,6 @@
10291029
"description": "The name of this cluster. Required",
10301030
"type": "string"
10311031
},
1032-
"allowReplicasBelowMinDynClusterSize": {
1033-
"description": "If true (the default), then the number of replicas is allowed to drop below the minimum dynamic cluster size configured in the WebLogic domain home configuration. Otherwise, the operator will ensure that the number of replicas is not less than the minimum dynamic cluster setting. This setting applies to dynamic clusters only.",
1034-
"type": "boolean"
1035-
},
10361032
"serverPod": {
10371033
"description": "Configuration affecting server pods.",
10381034
"$ref": "#/definitions/ServerPod"

kubernetes/crd/domain-crd.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15804,14 +15804,6 @@ spec:
1580415804
clusterName:
1580515805
description: The name of this cluster. Required
1580615806
type: string
15807-
allowReplicasBelowMinDynClusterSize:
15808-
description: If true (the default), then the number of replicas
15809-
is allowed to drop below the minimum dynamic cluster size
15810-
configured in the WebLogic domain home configuration. Otherwise,
15811-
the operator will ensure that the number of replicas is not
15812-
less than the minimum dynamic cluster setting. This setting
15813-
applies to dynamic clusters only.
15814-
type: boolean
1581515807
serverPod:
1581615808
description: Configuration affecting server pods.
1581715809
type: object

kubernetes/crd/domain-v1beta1-crd.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15489,14 +15489,6 @@ spec:
1548915489
clusterName:
1549015490
description: The name of this cluster. Required
1549115491
type: string
15492-
allowReplicasBelowMinDynClusterSize:
15493-
description: If true (the default), then the number of replicas
15494-
is allowed to drop below the minimum dynamic cluster size configured
15495-
in the WebLogic domain home configuration. Otherwise, the operator
15496-
will ensure that the number of replicas is not less than the
15497-
minimum dynamic cluster setting. This setting applies to dynamic
15498-
clusters only.
15499-
type: boolean
1550015492
serverPod:
1550115493
description: Configuration affecting server pods.
1550215494
type: object

operator/src/main/java/oracle/kubernetes/weblogic/domain/ClusterConfigurator.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,4 @@ ClusterConfigurator withLivenessProbeSettings(
128128
ClusterConfigurator withToleration(V1Toleration toleration);
129129

130130
ClusterConfigurator withPrecreateServerService(boolean precreateServerService);
131-
132-
ClusterConfigurator withAllowReplicasBelowDynClusterSize(boolean allowReplicasBelowDynClusterSize);
133131
}

operator/src/main/java/oracle/kubernetes/weblogic/domain/model/Cluster.java

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
package oracle.kubernetes.weblogic.domain.model;
55

66
import java.util.Map;
7-
import java.util.Optional;
87
import javax.annotation.Nonnull;
98
import javax.annotation.Nullable;
109

@@ -59,15 +58,6 @@ public class Cluster extends BaseConfiguration implements Comparable<Cluster> {
5958
@Expose
6059
private KubernetesResource clusterService = new KubernetesResource();
6160

62-
/** Whether to allow the number of replicas to drop below the minimum dynamic cluster
63-
* size configured in the WebLogic domain home configuration. Default is true. */
64-
@Description("If true (the default), then the number of replicas is allowed to drop below the "
65-
+ "minimum dynamic cluster size configured in the WebLogic domain home configuration. "
66-
+ "Otherwise, the operator will ensure that the number of replicas is not less than "
67-
+ "the minimum dynamic cluster setting. This setting applies to dynamic clusters only."
68-
)
69-
private Boolean allowReplicasBelowMinDynClusterSize;
70-
7161
protected Cluster getConfiguration() {
7262
Cluster configuration = new Cluster();
7363
configuration.fillInFrom(this);
@@ -104,12 +94,7 @@ public void setReplicas(Integer replicas) {
10494
* configured in the WebLogic domain home configuration.
10595
*/
10696
public boolean isAllowReplicasBelowMinDynClusterSize() {
107-
return Optional.ofNullable(allowReplicasBelowMinDynClusterSize)
108-
.orElse(KubernetesConstants.DEFAULT_ALLOW_REPLICAS_BELOW_MIN_DYN_CLUSTER_SIZE);
109-
}
110-
111-
public void setAllowReplicasBelowMinDynClusterSize(boolean value) {
112-
allowReplicasBelowMinDynClusterSize = value;
97+
return KubernetesConstants.DEFAULT_ALLOW_REPLICAS_BELOW_MIN_DYN_CLUSTER_SIZE;
11398
}
11499

115100
@Nullable
@@ -172,7 +157,6 @@ public String toString() {
172157
.append("serverStartPolicy", serverStartPolicy)
173158
.append("clusterService", clusterService)
174159
.append("maxUnavailable", maxUnavailable)
175-
.append("allowReplicasBelowMinDynClusterSize", allowReplicasBelowMinDynClusterSize)
176160
.toString();
177161
}
178162

@@ -195,7 +179,6 @@ public boolean equals(Object o) {
195179
.append(serverStartPolicy, cluster.serverStartPolicy)
196180
.append(clusterService, cluster.clusterService)
197181
.append(maxUnavailable, cluster.maxUnavailable)
198-
.append(allowReplicasBelowMinDynClusterSize, cluster.allowReplicasBelowMinDynClusterSize)
199182
.isEquals();
200183
}
201184

@@ -208,7 +191,6 @@ public int hashCode() {
208191
.append(serverStartPolicy)
209192
.append(clusterService)
210193
.append(maxUnavailable)
211-
.append(allowReplicasBelowMinDynClusterSize)
212194
.toHashCode();
213195
}
214196

operator/src/main/java/oracle/kubernetes/weblogic/domain/model/DomainCommonConfigurator.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -641,12 +641,6 @@ public ClusterConfigurator withNodeName(String nodeName) {
641641
return this;
642642
}
643643

644-
@Override
645-
public ClusterConfigurator withAllowReplicasBelowDynClusterSize(boolean allowReplicasBelowDynClusterSize) {
646-
cluster.setAllowReplicasBelowMinDynClusterSize(allowReplicasBelowDynClusterSize);
647-
return this;
648-
}
649-
650644
@Override
651645
public ClusterConfigurator withSchedulerName(String schedulerName) {
652646
getDomainSpec().setSchedulerName(schedulerName);

0 commit comments

Comments
 (0)