Skip to content

Commit 60751ae

Browse files
committed
[config] Adjust supported k8s version to 1.34
ran make bundle
1 parent 7bbbd8a commit 60751ae

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

bundle/manifests/windows-machine-config-operator.clusterserviceversion.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ spec:
535535
536536
name: Red Hat, Windows Container Support for OpenShift
537537
maturity: stable
538-
minKubeVersion: 1.33.0
538+
minKubeVersion: 1.34.0
539539
provider:
540540
name: Red Hat
541541
version: 10.21.0

config/manifests/bases/windows-machine-config-operator.clusterserviceversion.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ spec:
176176
177177
name: Red Hat, Windows Container Support for OpenShift
178178
maturity: stable
179-
minKubeVersion: 1.33.0
179+
minKubeVersion: 1.34.0
180180
provider:
181181
name: Red Hat
182182
version: 0.0.0

config/rbac/role.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
apiVersion: rbac.authorization.k8s.io/v1
33
kind: ClusterRole
44
metadata:
5-
creationTimestamp: null
65
name: windows-machine-config-operator
76
rules:
87
- apiGroups:
@@ -107,7 +106,6 @@ rules:
107106
resources:
108107
- certificatesigningrequests
109108
verbs:
110-
- create
111109
- get
112110
- list
113111
- watch

pkg/cluster/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const (
2424
ovnKubernetesNetwork = "OVNKubernetes"
2525
// baseK8sVersion specifies the base k8s version supported by the operator. (For eg. All versions in the format
2626
// 1.20.x are supported for baseK8sVersion 1.20)
27-
baseK8sVersion = "v1.33"
27+
baseK8sVersion = "v1.34"
2828
// MachineAPINamespace is the name of the namespace in which machine objects and userData secret is created.
2929
MachineAPINamespace = "openshift-machine-api"
3030
)

pkg/cluster/config_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ func TestIsValidKubernetesVersion(t *testing.T) {
125125
error bool
126126
}{
127127
{"cluster version lower than supported version ", "v1.17.1", true},
128-
{"cluster version equals supported version", "v1.33.0", false},
129-
{"cluster version equals supported version", "v1.33.4", false},
130-
{"cluster version greater than supported version ", "v1.35.2", true},
128+
{"cluster version equals supported version", "v1.34.0", false},
129+
{"cluster version equals supported version", "v1.34.4", false},
130+
{"cluster version greater than supported version ", "v1.36.2", true},
131131
}
132132

133133
for _, tt := range tests {

0 commit comments

Comments
 (0)