Skip to content

Commit

Permalink
Update generated files
Browse files Browse the repository at this point in the history
Update bundle and manifest files to align with
operator-sdk 1.36.1

Signed-off-by: Pradipta Banerjee <[email protected]>
  • Loading branch information
bpradipt committed Oct 4, 2024
1 parent 0a1028a commit fc38099
Show file tree
Hide file tree
Showing 8 changed files with 95 additions and 86 deletions.
4 changes: 2 additions & 2 deletions bundle.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=sandboxed-containers-operator
LABEL operators.operatorframework.io.bundle.channels.v1=stable
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.28.0
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.36.1
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v4

# Labels for testing.
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
Expand Down
80 changes: 43 additions & 37 deletions bundle/manifests/kataconfiguration.openshift.io_kataconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
controller-gen.kubebuilder.io/version: v0.14.0
creationTimestamp: null
name: kataconfigs.kataconfiguration.openshift.io
spec:
Expand Down Expand Up @@ -37,14 +37,19 @@ spec:
description: KataConfig is the Schema for the kataconfigs API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
Expand All @@ -54,45 +59,45 @@ spec:
properties:
checkNodeEligibility:
default: false
description: CheckNodeEligibility is used to detect the node(s) eligibility
to run Kata containers. This is currently done through the use of
the Node Feature Discovery Operator (NFD). For more information
on how the check works, please refer to the sandboxed containers
documentation - https://docs.redhat.com/en/documentation/openshift_sandboxed_containers/1.6/html-single/user_guide/index#about-node-eligibility-checks_about-osc
description: |-
CheckNodeEligibility is used to detect the node(s) eligibility to run Kata containers.
This is currently done through the use of the Node Feature Discovery Operator (NFD).
For more information on how the check works, please refer to the sandboxed containers documentation - https://docs.redhat.com/en/documentation/openshift_sandboxed_containers/1.6/html-single/user_guide/index#about-node-eligibility-checks_about-osc
type: boolean
enablePeerPods:
default: false
description: EnablePeerPods is used to transparently create pods on
a remote system. For more information on how this works, please
refer to the sandboxed containers documentation - https://docs.redhat.com/en/documentation/openshift_sandboxed_containers/1.6/html/user_guide/deploying-public-cloud#deploying-public-cloud
description: |-
EnablePeerPods is used to transparently create pods on a remote system.
For more information on how this works, please refer to the sandboxed containers documentation - https://docs.redhat.com/en/documentation/openshift_sandboxed_containers/1.6/html/user_guide/deploying-public-cloud#deploying-public-cloud
type: boolean
kataConfigPoolSelector:
description: KataConfigPoolSelector is used to filter the worker nodes
description: |-
KataConfigPoolSelector is used to filter the worker nodes
if not specified, all worker nodes are selected
nullable: true
properties:
matchExpressions:
description: matchExpressions is a list of label selector requirements.
The requirements are ANDed.
items:
description: A label selector requirement is a selector that
contains values, a key, and an operator that relates the key
and values.
description: |-
A label selector requirement is a selector that contains values, a key, and an operator that
relates the key and values.
properties:
key:
description: key is the label key that the selector applies
to.
type: string
operator:
description: operator represents a key's relationship to
a set of values. Valid operators are In, NotIn, Exists
and DoesNotExist.
description: |-
operator represents a key's relationship to a set of values.
Valid operators are In, NotIn, Exists and DoesNotExist.
type: string
values:
description: values is an array of string values. If the
operator is In or NotIn, the values array must be non-empty.
If the operator is Exists or DoesNotExist, the values
array must be empty. This array is replaced during a strategic
description: |-
values is an array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. This array is replaced during a strategic
merge patch.
items:
type: string
Expand All @@ -105,11 +110,10 @@ spec:
matchLabels:
additionalProperties:
type: string
description: matchLabels is a map of {key,value} pairs. A single
{key,value} in the matchLabels map is equivalent to an element
of matchExpressions, whose key field is "key", the operator
is "In", and the values array contains only "value". The requirements
are ANDed.
description: |-
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions, whose key field is "key", the
operator is "In", and the values array contains only "value". The requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
Expand Down Expand Up @@ -165,14 +169,16 @@ spec:
type: string
type: array
nodeCount:
description: Number of cluster nodes that have kata installed
on them including those queued for installation and currently
installing, though excluding nodes that have a kata installation
but are queued for uninstallation or currently uninstalling.
description: |-
Number of cluster nodes that have kata installed on them including
those queued for installation and currently installing, though
excluding nodes that have a kata installation but are queued for
uninstallation or currently uninstalling.
type: integer
readyNodeCount:
description: Number of cluster nodes that have kata installed
on them and are currently ready to run kata workloads.
description: |-
Number of cluster nodes that have kata installed on them and are
currently ready to run kata workloads.
type: integer
uninstalling:
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
}
]
capabilities: Seamless Upgrades
createdAt: "2024-10-03T15:51:22Z"
createdAt: "2024-10-04T09:21:08Z"
features.operators.openshift.io/disconnected: "true"
features.operators.openshift.io/fips-compliant: "false"
features.operators.openshift.io/proxy-aware: "false"
Expand All @@ -25,9 +25,9 @@ metadata:
operatorframework.io/suggested-namespace: openshift-sandboxed-containers-operator
operators.openshift.io/valid-subscription: '["OpenShift Container Platform", "OpenShift
Platform Plus"]'
operators.operatorframework.io/builder: operator-sdk-v1.28.0
operators.operatorframework.io/builder: operator-sdk-v1.36.1
operators.operatorframework.io/internal-objects: '["peerpods.confidentialcontainers.org","peerpodconfigs.confidentialcontainers.org"]'
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
repository: https://github.com/openshift/sandboxed-containers-operator
labels:
operatorframework.io/arch.amd64: supported
Expand Down Expand Up @@ -429,7 +429,7 @@ spec:
- configMapRef:
name: peer-pods-cm
optional: true
image: quay.io/rhgkurz/openshift-sandboxed-containers-operator:v1.7.0
image: quay.io/openshift_sandboxed_containers/openshift-sandboxed-containers-operator:v1.7.0
imagePullPolicy: Always
name: manager
ports:
Expand Down
4 changes: 2 additions & 2 deletions bundle/metadata/annotations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ annotations:
operators.operatorframework.io.bundle.package.v1: sandboxed-containers-operator
operators.operatorframework.io.bundle.channels.v1: stable
operators.operatorframework.io.bundle.channel.default.v1: stable
operators.operatorframework.io.metrics.builder: operator-sdk-v1.28.0
operators.operatorframework.io.metrics.builder: operator-sdk-v1.36.1
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v3
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v4

# Annotations for testing.
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
Expand Down
Loading

0 comments on commit fc38099

Please sign in to comment.