mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
23 lines
881 B
Plaintext
23 lines
881 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * updating/preparing_for_updates/kmm-preflight-validation.adoc
|
|
|
|
:_mod-docs-content-type: CONCEPT
|
|
[id="kmm-example-cr_{context}"]
|
|
= Example PreflightValidationOCP resource
|
|
|
|
The following example shows a `PreflightValidationOCP` resource in the YAML format.
|
|
|
|
The example verifies all of the currently present modules against the upcoming `5.14.0-570.19.1.el9_6.x86_64` kernel. Because `.spec.pushBuiltImage` is set to `true`, KMM pushes the resulting images of Build/Sign into the defined repositories.
|
|
|
|
[source,yaml]
|
|
----
|
|
apiVersion: kmm.sigs.x-k8s.io/v1beta2
|
|
kind: PreflightValidationOCP
|
|
metadata:
|
|
name: preflight
|
|
spec:
|
|
kernelVersion: 5.14.0-570.19.1.el9_6.x86_64
|
|
dtkImage: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:fe0322730440f1cbe6fffaaa8cac131b56574bec8abe3ec5b462e17557fecb32
|
|
pushBuiltImage: true
|
|
---- |