Skip to content

Commit 66a7ed7

Browse files
committed
Merge branch 'main' into split-image-mode-doc
2 parents e1af18e + 5d715ba commit 66a7ed7

File tree

34,502 files changed

+8185462
-8173
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

34,502 files changed

+8185462
-8173
lines changed

.golangci.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
version: "2"
2+
13
run:
24
timeout: 5m
35
modules-download-mode: vendor
46

7+
exclusions:
8+
rules:
9+
- path: deps/
10+
511
linters:
612
# https://golangci-lint.run/usage/linters/
713
# Extra linters on top of default

.snyk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
22
exclude:
33
global:
4+
- deps/**
45
- origin/**
56
- vendor/**
67
- etcd/vendor/**

Makefile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
export SHELL := $(shell which bash)
33

44
PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))
5+
GO_FILES ?=$(shell find . -name '*.go' -not -path '*/vendor/*' -not -path '*/_output/*' -not -path '*/deps/*' -print)
56

67
# Include openshift build-machinery-go libraries
78
include $(PROJECT_DIR)/vendor/github.com/openshift/build-machinery-go/make/golang.mk
@@ -30,6 +31,7 @@ PATCH := $(shell echo $(SOURCE_GIT_TAG) | awk -F'[._~-]' '{print $$3}')
3031
SRC_ROOT :=$(shell pwd)
3132

3233
WITH_FLANNEL ?= 0
34+
WITH_TOPOLVM ?= 0
3335
OUTPUT_DIR :=_output
3436
RPM_BUILD_DIR :=$(OUTPUT_DIR)/rpmbuild
3537
CROSS_BUILD_BINDIR :=$(OUTPUT_DIR)/bin
@@ -268,6 +270,7 @@ rpm:
268270
SOURCE_GIT_COMMIT=${SOURCE_GIT_COMMIT} \
269271
SOURCE_GIT_TREE_STATE=${SOURCE_GIT_TREE_STATE} \
270272
WITH_FLANNEL=${WITH_FLANNEL} \
273+
WITH_TOPOLVM=${WITH_TOPOLVM} \
271274
./packaging/rpm/make-rpm.sh rpm local
272275
.PHONY: rpm
273276

@@ -278,6 +281,7 @@ srpm:
278281
SOURCE_GIT_COMMIT=${SOURCE_GIT_COMMIT} \
279282
SOURCE_GIT_TREE_STATE=${SOURCE_GIT_TREE_STATE} \
280283
WITH_FLANNEL=${WITH_FLANNEL} \
284+
WITH_TOPOLVM=${WITH_TOPOLVM} \
281285
./packaging/rpm/make-rpm.sh srpm local
282286
.PHONY: srpm
283287

@@ -295,6 +299,7 @@ rpm-podman:
295299
--volume $$(pwd):/opt/microshift:z \
296300
--env TARGET_ARCH=$(TARGET_ARCH) \
297301
--env WITH_FLANNEL=$(WITH_FLANNEL) \
302+
--env WITH_TOPOLVM=$(WITH_TOPOLVM) \
298303
microshift-builder:$(RPM_BUILDER_IMAGE_TAG) \
299304
bash -ilc 'cd /opt/microshift && make rpm & pid=$$! ; \
300305
trap "echo Killing make PID $${pid}; kill $${pid}" INT ; \
@@ -309,12 +314,15 @@ clean:
309314
if [ -d '$(OUTPUT_DIR)' ]; then rm -rf '$(OUTPUT_DIR)'; fi
310315
.PHONY: clean
311316

312-
vendor:
313-
go mod vendor
317+
patch-deps:
314318
for p in $(sort $(wildcard scripts/auto-rebase/rebase_patches/*.patch)); do \
315319
echo "Applying patch $$p"; \
316320
git mailinfo /dev/null /dev/stderr 2<&1- < $$p | git apply --reject || exit 1; \
317321
done
322+
.PHONY: patch-deps
323+
324+
vendor:
325+
go mod vendor
318326
.PHONY: vendor
319327

320328
# Update the etcd dependencies, including especially MicroShift itself.

Makefile.kube_git.var

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
KUBE_GIT_MAJOR=1
22
KUBE_GIT_MINOR=32
3-
KUBE_GIT_VERSION=v1.32.3
4-
KUBE_GIT_COMMIT=d365efdad4f566821463becaf0d5551a1a5c322f
3+
KUBE_GIT_VERSION=v1.32.5
4+
KUBE_GIT_COMMIT=886f7c90e4bd137f91ebfb7d0cb55d476e719643
55
KUBE_GIT_TREE_STATE=clean

Makefile.version.aarch64.var

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
OCP_VERSION := 4.19.0-0.nightly-arm64-2025-03-30-184112
1+
OCP_VERSION := 4.20.0-0.nightly-arm64-2025-06-03-221556

Makefile.version.x86_64.var

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
OCP_VERSION := 4.19.0-0.nightly-2025-03-30-191359
1+
OCP_VERSION := 4.20.0-0.nightly-2025-06-02-175911

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ To build MicroShift from source and contribute to its development, refer to the
4848
documentation in [contributor](./docs/contributor/README.md) folder.
4949

5050
## Community
51-
Community documentation sources are managed at <https://github.com/redhat-et/microshift-documentation> and published on <https://microshift.io>.
51+
Community build and CI sources managed at <https://github.com/microshift-io/microshift> and documentation sources are managed at <https://github.com/redhat-et/microshift-documentation> and published on <https://microshift.io>.
5252

5353
To get started with MicroShift, please refer to the [Getting Started](https://microshift.io/docs/getting-started/) section of the MicroShift [User Documentation](https://microshift.io/docs/user-documentation/).
5454

assets/components/lvms/lvm.topolvm.io_lvmclusters.yaml

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.15.0
5+
controller-gen.kubebuilder.io/version: v0.16.5
66
creationTimestamp: null
77
name: lvmclusters.lvm.topolvm.io
88
spec:
@@ -213,6 +213,26 @@ spec:
213213
- Host
214214
- Static
215215
type: string
216+
metadataSize:
217+
anyOf:
218+
- type: integer
219+
- type: string
220+
description: |-
221+
MetadataSize specifies metadata size for thin pool. It used only when MetadataSizeCalculationPolicy
222+
is set to Static. No MetadataSize with a MetadataSizeCalculationPolicy set to Static will result in
223+
default metadata size of 1Gi. It can be between 2Mi and 16Gi due to the underlying limitations of lvm2.
224+
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
225+
x-kubernetes-int-or-string: true
226+
metadataSizeCalculationPolicy:
227+
default: Host
228+
description: |-
229+
MetadataSizeCalculationPolicy specifies the policy to calculate metadata size for the underlying volume.
230+
When set to Host, the metadata size is calculated based on lvm2 default settings
231+
When set to Static, the metadata size is calculated based on the static size attribute provided within MetadataSize
232+
enum:
233+
- Host
234+
- Static
235+
type: string
216236
name:
217237
description: Name specifies a name for the thin pool.
218238
type: string
@@ -286,16 +306,8 @@ spec:
286306
conditions:
287307
description: Conditions describes the state of the resource.
288308
items:
289-
description: "Condition contains details for one aspect of the current
290-
state of this API Resource.\n---\nThis struct is intended for
291-
direct use as an array at the field path .status.conditions. For
292-
example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
293-
observations of a foo's current state.\n\t // Known .status.conditions.type
294-
are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
295-
+patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
296-
\ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
297-
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
298-
\ // other fields\n\t}"
309+
description: Condition contains details for one aspect of the current
310+
state of this API Resource.
299311
properties:
300312
lastTransitionTime:
301313
description: |-
@@ -336,12 +348,7 @@ spec:
336348
- Unknown
337349
type: string
338350
type:
339-
description: |-
340-
type of condition in CamelCase or in foo.example.com/CamelCase.
341-
---
342-
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
343-
useful (see .node.status.conditions), the ability to deconflict is important.
344-
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
351+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
345352
maxLength: 316
346353
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
347354
type: string
@@ -421,6 +428,8 @@ spec:
421428
description: Status tells if the volume group was created
422429
on the node
423430
type: string
431+
required:
432+
- deviceDiscoveryPolicy
424433
type: object
425434
type: array
426435
type: object

assets/components/lvms/lvm.topolvm.io_lvmvolumegroupnodestatuses.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.15.0
5+
controller-gen.kubebuilder.io/version: v0.16.5
66
creationTimestamp: null
77
name: lvmvolumegroupnodestatuses.lvm.topolvm.io
88
spec:
@@ -94,6 +94,8 @@ spec:
9494
description: Status tells if the volume group was created on
9595
the node
9696
type: string
97+
required:
98+
- deviceDiscoveryPolicy
9799
type: object
98100
type: array
99101
type: object

assets/components/lvms/lvm.topolvm.io_lvmvolumegroups.yaml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.15.0
5+
controller-gen.kubebuilder.io/version: v0.16.5
66
creationTimestamp: null
77
name: lvmvolumegroups.lvm.topolvm.io
88
spec:
@@ -176,6 +176,26 @@ spec:
176176
- Host
177177
- Static
178178
type: string
179+
metadataSize:
180+
anyOf:
181+
- type: integer
182+
- type: string
183+
description: |-
184+
MetadataSize specifies metadata size for thin pool. It used only when MetadataSizeCalculationPolicy
185+
is set to Static. No MetadataSize with a MetadataSizeCalculationPolicy set to Static will result in
186+
default metadata size of 1Gi. It can be between 2Mi and 16Gi due to the underlying limitations of lvm2.
187+
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
188+
x-kubernetes-int-or-string: true
189+
metadataSizeCalculationPolicy:
190+
default: Host
191+
description: |-
192+
MetadataSizeCalculationPolicy specifies the policy to calculate metadata size for the underlying volume.
193+
When set to Host, the metadata size is calculated based on lvm2 default settings
194+
When set to Static, the metadata size is calculated based on the static size attribute provided within MetadataSize
195+
enum:
196+
- Host
197+
- Static
198+
type: string
179199
name:
180200
description: Name specifies a name for the thin pool.
181201
type: string

0 commit comments

Comments
 (0)