Skip to content

Commit

Permalink
Fix kustomize and bundle CRD manifests YAML errors (kubernetes-sigs#91)
Browse files Browse the repository at this point in the history
Signed-off-by: Michail Resvanis <mresvani@redhat.com>

Signed-off-by: Michail Resvanis <mresvani@redhat.com>
  • Loading branch information
mresvanis committed Nov 6, 2022
1 parent 30925ef commit f9f3afd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 85 deletions.
6 changes: 3 additions & 3 deletions bundle/manifests/kmm.sigs.k8s.io_preflightvalidations.yaml
Expand Up @@ -21,7 +21,7 @@ spec:
schema:
openAPIV3Schema:
description: PreflightValidation initiates a preflight validations for all
Module objects on the current Kubernetes cluster.
Modules on the current Kubernetes cluster.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
Expand Down Expand Up @@ -86,8 +86,8 @@ spec:
- verificationStage
- verificationStatus
type: object
description: CRStatuses contain observations about each Module's
preflight upgradability validation
description: CRStatuses contain observations about each Module's preflight
upgradability validation
type: object
type: object
type: object
Expand Down
81 changes: 0 additions & 81 deletions config/crd/bases/kmm.sigs.k8s.io_modules.yaml
Expand Up @@ -2034,48 +2034,6 @@ spec:
description: Regexp is a regular expression to be match
against node kernels.
type: string
sign:
description: Sign enables in-cluster signing for this
mapping
properties:
certSecret:
description: a secret containing the public key
used to sign kernel modules for secureboot
properties:
name:
description: 'Name of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion,
kind, uid?'
type: string
type: object
x-kubernetes-map-type: atomic
filesToSign:
description: paths inside the image for the kernel
modules to sign (if ommited all kmods are signed)
items:
type: string
type: array
keySecret:
description: a secret containing the private key
used to sign kernel modules for secureboot
properties:
name:
description: 'Name of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion,
kind, uid?'
type: string
type: object
x-kubernetes-map-type: atomic
unsignedImage:
description: Image to sign, ignored if a Build is
present, required otherwise
type: string
required:
- certSecret
- keySecret
type: object
required:
- containerImage
type: object
Expand Down Expand Up @@ -2166,45 +2124,6 @@ spec:
accept any certificate provided by the registry.
type: boolean
type: object
sign:
description: Sign provides default kmod signing settings
properties:
certSecret:
description: a secret containing the public key used to
sign kernel modules for secureboot
properties:
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind,
uid?'
type: string
type: object
x-kubernetes-map-type: atomic
filesToSign:
description: paths inside the image for the kernel modules
to sign (if ommited all kmods are signed)
items:
type: string
type: array
keySecret:
description: a secret containing the private key used
to sign kernel modules for secureboot
properties:
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind,
uid?'
type: string
type: object
x-kubernetes-map-type: atomic
unsignedImage:
description: Image to sign, ignored if a Build is present,
required otherwise
type: string
required:
- certSecret
- keySecret
type: object
required:
- kernelMappings
- modprobe
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/kmm.sigs.k8s.io_preflightvalidations.yaml
Expand Up @@ -21,7 +21,7 @@ spec:
schema:
openAPIV3Schema:
description: PreflightValidation initiates a preflight validations for all
Module obects on the current Kubernetes cluster.
Modules on the current Kubernetes cluster.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
Expand Down

0 comments on commit f9f3afd

Please sign in to comment.