Go: Bump github.com/operator-framework/api from 0.17.3 to 0.17.6 (#6960)

Bumps [github.com/operator-framework/api](https://github.com/operator-framework/api) from 0.17.3 to 0.17.6.
- [Release notes](https://github.com/operator-framework/api/releases)
- [Changelog](https://github.com/operator-framework/api/blob/master/RELEASE.md)
- [Commits](https://github.com/operator-framework/api/compare/v0.17.3...v0.17.6)

---
updated-dependencies:
- dependency-name: github.com/operator-framework/api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2023-07-10 05:02:15 -04:00
committed by GitHub
parent f6cb8e9915
commit 819be1df35
8 changed files with 56 additions and 14 deletions

View File

@@ -114,6 +114,10 @@ type GrpcPodConfig struct {
// +optional
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
// Affinity is the catalog source's pod's affinity.
// +optional
Affinity *corev1.Affinity `json:"affinity,omitempty"`
// If specified, indicates the pod's priority.
// If not specified, the pod priority will be default or zero if there is no
// default.

View File

@@ -145,11 +145,14 @@ type APIServiceDescription struct {
ActionDescriptor []ActionDescriptor `json:"actionDescriptors,omitempty"`
}
// APIResourceReference is a Kubernetes resource type used by a custom resource
// APIResourceReference is a reference to a Kubernetes resource type that the referrer utilizes.
// +k8s:openapi-gen=true
type APIResourceReference struct {
Name string `json:"name"`
Kind string `json:"kind"`
// Plural name of the referenced resource type (CustomResourceDefinition.Spec.Names[].Plural). Empty string if the referenced resource type is not a custom resource.
Name string `json:"name"`
// Kind of the referenced resource type.
Kind string `json:"kind"`
// API Version of the referenced resource type.
Version string `json:"version"`
}
@@ -279,13 +282,34 @@ type ClusterServiceVersionSpec struct {
WebhookDefinitions []WebhookDescription `json:"webhookdefinitions,omitempty"`
NativeAPIs []metav1.GroupVersionKind `json:"nativeAPIs,omitempty"`
MinKubeVersion string `json:"minKubeVersion,omitempty"`
DisplayName string `json:"displayName"`
Description string `json:"description,omitempty"`
Keywords []string `json:"keywords,omitempty"`
Maintainers []Maintainer `json:"maintainers,omitempty"`
Provider AppLink `json:"provider,omitempty"`
Links []AppLink `json:"links,omitempty"`
Icon []Icon `json:"icon,omitempty"`
// The name of the operator in display format.
DisplayName string `json:"displayName"`
// Description of the operator. Can include the features, limitations or use-cases of the
// operator.
// +optional
Description string `json:"description,omitempty"`
// A list of keywords describing the operator.
// +optional
Keywords []string `json:"keywords,omitempty"`
// A list of organizational entities maintaining the operator.
// +optional
Maintainers []Maintainer `json:"maintainers,omitempty"`
// The publishing entity behind the operator.
// +optional
Provider AppLink `json:"provider,omitempty"`
// A list of links related to the operator.
// +optional
Links []AppLink `json:"links,omitempty"`
// The icon for this operator.
// +optional
Icon []Icon `json:"icon,omitempty"`
// InstallModes specify supported installation types
// +optional

View File

@@ -239,6 +239,9 @@ const (
// BundleLookupPending describes BundleLookups that are not complete.
BundleLookupPending BundleLookupConditionType = "BundleLookupPending"
// BundleLookupFailed describes conditions types for when BundleLookups fail
BundleLookupFailed BundleLookupConditionType = "BundleLookupFailed"
crdKind = "CustomResourceDefinition"
)

View File

@@ -111,6 +111,12 @@ const (
// SubscriptionResolutionFailed indicates that the dependency resolution in the namespace in which the subscription is created has failed
SubscriptionResolutionFailed SubscriptionConditionType = "ResolutionFailed"
// SubscriptionBundleUnpacking indicates that the unpack job is currently running
SubscriptionBundleUnpacking SubscriptionConditionType = "BundleUnpacking"
// SubscriptionBundleUnpackFailed indicates that the unpack job failed
SubscriptionBundleUnpackFailed SubscriptionConditionType = "BundleUnpackFailed"
)
const (

View File

@@ -723,6 +723,11 @@ func (in *GrpcPodConfig) DeepCopyInto(out *GrpcPodConfig) {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.Affinity != nil {
in, out := &in.Affinity, &out.Affinity
*out = new(v1.Affinity)
(*in).DeepCopyInto(*out)
}
if in.PriorityClassName != nil {
in, out := &in.PriorityClassName, &out.PriorityClassName
*out = new(string)

2
vendor/modules.txt generated vendored
View File

@@ -673,7 +673,7 @@ github.com/openshift/oc/pkg/helpers/motd
github.com/openshift/oc/pkg/helpers/project
github.com/openshift/oc/pkg/helpers/term
github.com/openshift/oc/pkg/helpers/tokencmd
# github.com/operator-framework/api v0.17.3
# github.com/operator-framework/api v0.17.6
## explicit; go 1.19
github.com/operator-framework/api/pkg/lib/version
github.com/operator-framework/api/pkg/operators