-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add types and client for Resolution #5200
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,8 +26,11 @@ spec: | |
plural: resolutionrequests | ||
singular: resolutionrequest | ||
categories: | ||
- all | ||
- tekton | ||
- tekton | ||
- tekton-pipelines | ||
shortNames: | ||
- resolutionrequest | ||
- resolutionrequests | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
|
@@ -37,58 +40,14 @@ spec: | |
schema: | ||
openAPIV3Schema: | ||
type: object | ||
properties: | ||
spec: | ||
description: Spec holds the parameters for the request. | ||
type: object | ||
properties: | ||
params: | ||
type: object | ||
Comment on lines
-40
to
-46
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's a shame this goes.. 😅 |
||
x-kubernetes-preserve-unknown-fields: true | ||
status: | ||
description: Status receives the data of a completed request. | ||
type: object | ||
properties: | ||
data: | ||
description: The resolved contents of the requested resource in-lined as a string. | ||
type: string | ||
annotations: | ||
description: Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards. | ||
type: object | ||
x-kubernetes-preserve-unknown-fields: true | ||
conditions: | ||
description: Conditions the latest available observations of a resource's current state. | ||
type: array | ||
items: | ||
description: Conditions describe the success and completion state of the resource request. | ||
type: object | ||
required: | ||
- status | ||
- type | ||
properties: | ||
lastTransitionTime: | ||
description: LastTransitionTime is the last time the condition transitioned from one status to another. We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic differences (all other things held constant). | ||
type: string | ||
format: date-time | ||
message: | ||
description: A human readable message indicating details about the transition. | ||
type: string | ||
reason: | ||
description: The reason for the condition's last transition. | ||
type: string | ||
severity: | ||
description: Severity with which to treat failures of this type of condition. When this is not specified, it defaults to Error. | ||
type: string | ||
status: | ||
description: Status of the condition, one of True, False, Unknown. | ||
type: string | ||
type: | ||
description: Type of condition. | ||
type: string | ||
observedGeneration: | ||
description: ObservedGeneration is the 'Generation' of the Service that was last processed by the controller. | ||
type: integer | ||
format: int64 | ||
# One can use x-kubernetes-preserve-unknown-fields: true | ||
# at the root of the schema (and inside any properties, additionalProperties) | ||
# to get the traditional CRD behaviour that nothing is pruned, despite | ||
# setting spec.preserveUnknownProperties: false. | ||
# | ||
# See https://kubernetes.io/blog/2019/06/20/crd-structural-schema/ | ||
# See issue: https://github.com/knative/serving/issues/912 | ||
x-kubernetes-preserve-unknown-fields: true | ||
additionalPrinterColumns: | ||
- name: Succeeded | ||
type: string | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️