Skip to content

Commit a707ba8

Browse files
authored
chore(deps): bump github.com/openshift/api from 20240930125604-62d5277244a4 to 20250305013520-e7f23be12279
Signed-off-by: Marc Nuri <marc@marcnuri.com>
1 parent 186d6f7 commit a707ba8

File tree

18 files changed

+1550
-43
lines changed

18 files changed

+1550
-43
lines changed

kubernetes-model-generator/openapi/generator/go.mod

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,11 @@ require (
2020
github.com/openshift/hive/apis v0.0.0-20240930213556-2d25383963db
2121
github.com/openshift/installer v0.0.0-00010101000000-000000000000
2222
github.com/operator-framework/api v0.29.0
23-
github.com/operator-framework/operator-lifecycle-manager v0.22.0
2423
github.com/ovn-org/ovn-kubernetes/go-controller v0.0.0-20241030140127-a68ef49d9441
2524
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.79.2
2625
github.com/spf13/cobra v1.9.1
2726
github.com/stolostron/discovery v0.0.0-20241023180217-47cd9895f600
2827
github.com/stolostron/klusterlet-addon-controller v0.0.0-20240912124113-fe0b6574a401
29-
github.com/stolostron/multicluster-observability-operator v1.0.1-2020-06-08-14-28-27
30-
github.com/stolostron/multiclusterhub-operator v1.0.1-2020-06-08-14-28-27
3128
github.com/stolostron/search-v2-operator v0.0.0-20241029125341-1a376a062a45
3229
github.com/tektoncd/pipeline v0.69.0
3330
github.com/tektoncd/triggers v0.31.0
@@ -64,6 +61,7 @@ require (
6461
// Required by some openshift operator dependencies
6562
// Force usage of latest Kuberentes Version
6663
replace (
64+
github.com/openshift/api => github.com/openshift/api v0.0.0-20250305013520-e7f23be12279 // Latest 4.18
6765
github.com/openshift/assisted-service/api => github.com/openshift/assisted-service/api v0.0.0-20241003070528-341f9860c455
6866
github.com/openshift/assisted-service/client => github.com/openshift/assisted-service/client v0.0.0-20241003070528-341f9860c455
6967
github.com/openshift/assisted-service/models => github.com/openshift/assisted-service/models v0.0.0-20241003070528-341f9860c455
@@ -91,15 +89,19 @@ replace (
9189
github.com/chaos-mesh/chaos-mesh/api => github.com/marcnuri-forks/chaos-mesh/api v0.0.0-20250107101005-a389b2cbf857
9290
// TODO: WIP while this gets merged or fixed https://github.com/metal3-io/baremetal-operator/pull/1985
9391
github.com/metal3-io/baremetal-operator/apis => github.com/marcnuri-forks/baremetal-operator/apis v0.0.0-20241004142039-6b123cc23349
94-
// TODO: WIP while this gets merged or fixed https://github.com/openshift/api/pull/2050
95-
github.com/openshift/api => github.com/marcnuri-forks/api v0.0.0-20240930125604-62d5277244a4
9692
// TODO: WIP while this gets merged or fixed https://github.com/operator-framework/operator-lifecycle-manager/pull/3406
9793
// For some reason v0.30.0 has been released with the fix but the downloaded sources don't match those in GitHub ????
9894
github.com/operator-framework/operator-lifecycle-manager => github.com/marcnuri-forks/operator-lifecycle-manager v0.0.0-20241002090802-7539192fbf96
9995
// TODO: WIP while this gets merged or fixed https://github.com/kubernetes/autoscaler/pull/7393 (Merged only pending release)
10096
k8s.io/autoscaler/vertical-pod-autoscaler => github.com/marcnuri-forks/kubernetes-autoscaler/vertical-pod-autoscaler v0.0.0-20241015073945-66b859601d68
10197
)
10298

99+
require (
100+
github.com/operator-framework/operator-lifecycle-manager v0.22.0
101+
github.com/stolostron/multicluster-observability-operator v0.0.0-00010101000000-000000000000
102+
github.com/stolostron/multiclusterhub-operator v0.0.0-20240626140553-4f1ed6be3b84
103+
)
104+
103105
require (
104106
cel.dev/expr v0.19.1 // indirect
105107
contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d // indirect

kubernetes-model-generator/openapi/generator/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -757,8 +757,6 @@ github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJ
757757
github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
758758
github.com/mailru/easyjson v0.9.0 h1:PrnmzHw7262yW8sTBwxi1PdJA3Iw/EKBa8psRf7d9a4=
759759
github.com/mailru/easyjson v0.9.0/go.mod h1:1+xMtQp2MRNVL/V1bOzuP3aP8VNwRW55fQUto+XFtTU=
760-
github.com/marcnuri-forks/api v0.0.0-20240930125604-62d5277244a4 h1:OVm/tM0Io+jkCLhrYvDL4B6zJb9ueRBX36zt7q9KFOU=
761-
github.com/marcnuri-forks/api v0.0.0-20240930125604-62d5277244a4/go.mod h1:OOh6Qopf21pSzqNVCB5gomomBXb8o5sGKZxG2KNpaXM=
762760
github.com/marcnuri-forks/baremetal-operator/apis v0.0.0-20241004142039-6b123cc23349 h1:jSdEzmJMzBkCBT4Ft39OYARV+fgP82RlYcZc09Z8Ldk=
763761
github.com/marcnuri-forks/baremetal-operator/apis v0.0.0-20241004142039-6b123cc23349/go.mod h1:Qao+jEhzuKU8M763GkP70ZIdiZCaeC0H0LPyMw/l/O0=
764762
github.com/marcnuri-forks/chaos-mesh/api v0.0.0-20250107101005-a389b2cbf857 h1:Xl5Lm1Du3vzpTgEEgWPs/q34p8Zgb5rSre/WxJAtCE4=
@@ -908,6 +906,8 @@ github.com/opencontainers/image-spec v1.1.0 h1:8SG7/vwALn54lVB/0yZ/MMwhFrPYtpEHQ
908906
github.com/opencontainers/image-spec v1.1.0/go.mod h1:W4s4sFTMaBeK1BQLXbG4AdM2szdn85PY75RI83NrTrM=
909907
github.com/opencontainers/runtime-spec v1.2.0 h1:z97+pHb3uELt/yiAWD691HNHQIF07bE7dzrbT927iTk=
910908
github.com/opencontainers/runtime-spec v1.2.0/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
909+
github.com/openshift/api v0.0.0-20250305013520-e7f23be12279 h1:eYvpiSNyNl7P7kmtNH0d6zAMLlrziyz370m0q1tggJE=
910+
github.com/openshift/api v0.0.0-20250305013520-e7f23be12279/go.mod h1:Shkl4HanLwDiiBzakv+con/aMGnVE2MAGvoKp5oyYUo=
911911
github.com/openshift/cloud-credential-operator v0.0.0-20240910052617-d668c182b0e3 h1:WQH/wm0E1I3zrmCnHtpaeaYduJalzL9qpDwAFLLVTNk=
912912
github.com/openshift/cloud-credential-operator v0.0.0-20240910052617-d668c182b0e3/go.mod h1:4AWWBNPuWzPtT77xDONlObrazPlBCKXd+16lupnIrQc=
913913
github.com/openshift/cluster-network-operator v0.0.0-20240912134426-a3188633549d h1:9Xf/80gDpRc33FwCEJ6L2/DF1yU/4L6QjoYxKexDzvo=

kubernetes-model-generator/openapi/schemas/openshift-generated.json

Lines changed: 299 additions & 20 deletions
Large diffs are not rendered by default.

kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSPlatformStatus.java

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
4141
@JsonInclude(JsonInclude.Include.NON_NULL)
4242
@JsonPropertyOrder({
43+
"cloudLoadBalancerConfig",
4344
"region",
4445
"resourceTags",
4546
"serviceEndpoints"
@@ -69,6 +70,8 @@
6970
public class AWSPlatformStatus implements Editable<AWSPlatformStatusBuilder>, KubernetesResource
7071
{
7172

73+
@JsonProperty("cloudLoadBalancerConfig")
74+
private CloudLoadBalancerConfig cloudLoadBalancerConfig;
7275
@JsonProperty("region")
7376
private String region;
7477
@JsonProperty("resourceTags")
@@ -86,13 +89,30 @@ public class AWSPlatformStatus implements Editable<AWSPlatformStatusBuilder>, Ku
8689
public AWSPlatformStatus() {
8790
}
8891

89-
public AWSPlatformStatus(String region, List<AWSResourceTag> resourceTags, List<AWSServiceEndpoint> serviceEndpoints) {
92+
public AWSPlatformStatus(CloudLoadBalancerConfig cloudLoadBalancerConfig, String region, List<AWSResourceTag> resourceTags, List<AWSServiceEndpoint> serviceEndpoints) {
9093
super();
94+
this.cloudLoadBalancerConfig = cloudLoadBalancerConfig;
9195
this.region = region;
9296
this.resourceTags = resourceTags;
9397
this.serviceEndpoints = serviceEndpoints;
9498
}
9599

100+
/**
101+
* AWSPlatformStatus holds the current status of the Amazon Web Services infrastructure provider.
102+
*/
103+
@JsonProperty("cloudLoadBalancerConfig")
104+
public CloudLoadBalancerConfig getCloudLoadBalancerConfig() {
105+
return cloudLoadBalancerConfig;
106+
}
107+
108+
/**
109+
* AWSPlatformStatus holds the current status of the Amazon Web Services infrastructure provider.
110+
*/
111+
@JsonProperty("cloudLoadBalancerConfig")
112+
public void setCloudLoadBalancerConfig(CloudLoadBalancerConfig cloudLoadBalancerConfig) {
113+
this.cloudLoadBalancerConfig = cloudLoadBalancerConfig;
114+
}
115+
96116
/**
97117
* region holds the default AWS region for new AWS resources created by the cluster.
98118
*/

kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NodeSpec.java

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
@JsonInclude(JsonInclude.Include.NON_NULL)
3737
@JsonPropertyOrder({
3838
"cgroupMode",
39+
"minimumKubeletVersion",
3940
"workerLatencyProfile"
4041
})
4142
@ToString
@@ -65,6 +66,8 @@ public class NodeSpec implements Editable<NodeSpecBuilder>, KubernetesResource
6566

6667
@JsonProperty("cgroupMode")
6768
private String cgroupMode;
69+
@JsonProperty("minimumKubeletVersion")
70+
private String minimumKubeletVersion;
6871
@JsonProperty("workerLatencyProfile")
6972
private String workerLatencyProfile;
7073
@JsonIgnore
@@ -76,9 +79,10 @@ public class NodeSpec implements Editable<NodeSpecBuilder>, KubernetesResource
7679
public NodeSpec() {
7780
}
7881

79-
public NodeSpec(String cgroupMode, String workerLatencyProfile) {
82+
public NodeSpec(String cgroupMode, String minimumKubeletVersion, String workerLatencyProfile) {
8083
super();
8184
this.cgroupMode = cgroupMode;
85+
this.minimumKubeletVersion = minimumKubeletVersion;
8286
this.workerLatencyProfile = workerLatencyProfile;
8387
}
8488

@@ -98,6 +102,22 @@ public void setCgroupMode(String cgroupMode) {
98102
this.cgroupMode = cgroupMode;
99103
}
100104

105+
/**
106+
* minimumKubeletVersion is the lowest version of a kubelet that can join the cluster. Specifically, the apiserver will deny most authorization requests of kubelets that are older than the specified version, only allowing the kubelet to get and update its node object, and perform subjectaccessreviews. This means any kubelet that attempts to join the cluster will not be able to run any assigned workloads, and will eventually be marked as not ready. Its max length is 8, so maximum version allowed is either "9.999.99" or "99.99.99". Since the kubelet reports the version of the kubernetes release, not Openshift, this field references the underlying kubernetes version this version of Openshift is based off of. In other words: if an admin wishes to ensure no nodes run an older version than Openshift 4.17, then they should set the minimumKubeletVersion to 1.30.0. When comparing versions, the kubelet's version is stripped of any contents outside of major.minor.patch version. Thus, a kubelet with version "1.0.0-ec.0" will be compatible with minimumKubeletVersion "1.0.0" or earlier.
107+
*/
108+
@JsonProperty("minimumKubeletVersion")
109+
public String getMinimumKubeletVersion() {
110+
return minimumKubeletVersion;
111+
}
112+
113+
/**
114+
* minimumKubeletVersion is the lowest version of a kubelet that can join the cluster. Specifically, the apiserver will deny most authorization requests of kubelets that are older than the specified version, only allowing the kubelet to get and update its node object, and perform subjectaccessreviews. This means any kubelet that attempts to join the cluster will not be able to run any assigned workloads, and will eventually be marked as not ready. Its max length is 8, so maximum version allowed is either "9.999.99" or "99.99.99". Since the kubelet reports the version of the kubernetes release, not Openshift, this field references the underlying kubernetes version this version of Openshift is based off of. In other words: if an admin wishes to ensure no nodes run an older version than Openshift 4.17, then they should set the minimumKubeletVersion to 1.30.0. When comparing versions, the kubelet's version is stripped of any contents outside of major.minor.patch version. Thus, a kubelet with version "1.0.0-ec.0" will be compatible with minimumKubeletVersion "1.0.0" or earlier.
115+
*/
116+
@JsonProperty("minimumKubeletVersion")
117+
public void setMinimumKubeletVersion(String minimumKubeletVersion) {
118+
this.minimumKubeletVersion = minimumKubeletVersion;
119+
}
120+
101121
/**
102122
* WorkerLatencyProfile determins the how fast the kubelet is updating the status and corresponding reaction of the cluster
103123
*/

kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixFailureDomain.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public void setName(String name) {
125125
}
126126

127127
/**
128-
* subnets holds a list of identifiers (one or more) of the cluster's network subnets for the Machine's VM to connect to. The subnet identifiers (uuid or name) can be obtained from the Prism Central console or using the prism_central API.
128+
* subnets holds a list of identifiers (one or more) of the cluster's network subnets If the feature gate NutanixMultiSubnets is enabled, up to 32 subnets may be configured. for the Machine's VM to connect to. The subnet identifiers (uuid or name) can be obtained from the Prism Central console or using the prism_central API.
129129
*/
130130
@JsonProperty("subnets")
131131
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@@ -134,7 +134,7 @@ public List<NutanixResourceIdentifier> getSubnets() {
134134
}
135135

136136
/**
137-
* subnets holds a list of identifiers (one or more) of the cluster's network subnets for the Machine's VM to connect to. The subnet identifiers (uuid or name) can be obtained from the Prism Central console or using the prism_central API.
137+
* subnets holds a list of identifiers (one or more) of the cluster's network subnets If the feature gate NutanixMultiSubnets is enabled, up to 32 subnets may be configured. for the Machine's VM to connect to. The subnet identifiers (uuid or name) can be obtained from the Prism Central console or using the prism_central API.
138138
*/
139139
@JsonProperty("subnets")
140140
public void setSubnets(List<NutanixResourceIdentifier> subnets) {

kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/Release.java

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
4141
@JsonInclude(JsonInclude.Include.NON_NULL)
4242
@JsonPropertyOrder({
43+
"architecture",
4344
"channels",
4445
"image",
4546
"url",
@@ -70,6 +71,8 @@
7071
public class Release implements Editable<ReleaseBuilder>, KubernetesResource
7172
{
7273

74+
@JsonProperty("architecture")
75+
private String architecture;
7376
@JsonProperty("channels")
7477
@JsonInclude(JsonInclude.Include.NON_EMPTY)
7578
private List<String> channels = new ArrayList<>();
@@ -88,14 +91,31 @@ public class Release implements Editable<ReleaseBuilder>, KubernetesResource
8891
public Release() {
8992
}
9093

91-
public Release(List<String> channels, String image, String url, String version) {
94+
public Release(String architecture, List<String> channels, String image, String url, String version) {
9295
super();
96+
this.architecture = architecture;
9397
this.channels = channels;
9498
this.image = image;
9599
this.url = url;
96100
this.version = version;
97101
}
98102

103+
/**
104+
* architecture is an optional field that indicates the value of the cluster architecture. In this context cluster architecture means either a single architecture or a multi architecture. Valid values are 'Multi' and empty.
105+
*/
106+
@JsonProperty("architecture")
107+
public String getArchitecture() {
108+
return architecture;
109+
}
110+
111+
/**
112+
* architecture is an optional field that indicates the value of the cluster architecture. In this context cluster architecture means either a single architecture or a multi architecture. Valid values are 'Multi' and empty.
113+
*/
114+
@JsonProperty("architecture")
115+
public void setArchitecture(String architecture) {
116+
this.architecture = architecture;
117+
}
118+
99119
/**
100120
* channels is the set of Cincinnati channels to which the release currently belongs.
101121
*/

0 commit comments

Comments
 (0)