github.com/redhat-appstudio/release-service@v0.0.0-20240507045911-a8558ef3422a/config/crd/bases/appstudio.redhat.com_releases.yaml (about) 1 --- 2 apiVersion: apiextensions.k8s.io/v1 3 kind: CustomResourceDefinition 4 metadata: 5 annotations: 6 controller-gen.kubebuilder.io/version: v0.8.0 7 creationTimestamp: null 8 name: releases.appstudio.redhat.com 9 spec: 10 group: appstudio.redhat.com 11 names: 12 kind: Release 13 listKind: ReleaseList 14 plural: releases 15 shortNames: 16 - rel 17 singular: release 18 scope: Namespaced 19 versions: 20 - additionalPrinterColumns: 21 - jsonPath: .spec.snapshot 22 name: Snapshot 23 type: string 24 - jsonPath: .spec.releasePlan 25 name: ReleasePlan 26 type: string 27 - jsonPath: .status.conditions[?(@.type=="Released")].reason 28 name: Release status 29 type: string 30 - jsonPath: .metadata.creationTimestamp 31 name: Age 32 type: date 33 name: v1alpha1 34 schema: 35 openAPIV3Schema: 36 description: Release is the Schema for the releases API 37 properties: 38 apiVersion: 39 description: 'APIVersion defines the versioned schema of this representation 40 of an object. Servers should convert recognized schemas to the latest 41 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 42 type: string 43 kind: 44 description: 'Kind is a string value representing the REST resource this 45 object represents. Servers may infer this from the endpoint the client 46 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 47 type: string 48 metadata: 49 type: object 50 spec: 51 description: ReleaseSpec defines the desired state of Release. 52 properties: 53 data: 54 description: Data is an unstructured key used for providing data for 55 the managed Release Pipeline 56 type: object 57 x-kubernetes-preserve-unknown-fields: true 58 gracePeriodDays: 59 description: GracePeriodDays is the number of days a Release should 60 be kept This value is used to define the Release ExpirationTime 61 type: integer 62 releasePlan: 63 description: ReleasePlan to use for this particular Release 64 pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ 65 type: string 66 snapshot: 67 description: Snapshot to be released 68 pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ 69 type: string 70 required: 71 - releasePlan 72 - snapshot 73 type: object 74 status: 75 description: ReleaseStatus defines the observed state of Release. 76 properties: 77 attribution: 78 description: Attribution contains information about the entity authorizing 79 the release 80 properties: 81 author: 82 description: Author is the username that the release is attributed 83 to 84 type: string 85 standingAuthorization: 86 description: StandingAuthorization indicates whether the release 87 is attributed through a ReleasePlan 88 type: boolean 89 type: object 90 automated: 91 description: Automated indicates whether the Release was created as 92 part of an automated process or manually by an end-user 93 type: boolean 94 completionTime: 95 description: CompletionTime is the time when a Release was completed 96 format: date-time 97 type: string 98 conditions: 99 description: Conditions represent the latest available observations 100 for the release 101 items: 102 description: "Condition contains details for one aspect of the current 103 state of this API Resource. --- This struct is intended for direct 104 use as an array at the field path .status.conditions. For example, 105 \n type FooStatus struct{ // Represents the observations of a 106 foo's current state. // Known .status.conditions.type are: \"Available\", 107 \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge 108 // +listType=map // +listMapKey=type Conditions []metav1.Condition 109 `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" 110 protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }" 111 properties: 112 lastTransitionTime: 113 description: lastTransitionTime is the last time the condition 114 transitioned from one status to another. This should be when 115 the underlying condition changed. If that is not known, then 116 using the time when the API field changed is acceptable. 117 format: date-time 118 type: string 119 message: 120 description: message is a human readable message indicating 121 details about the transition. This may be an empty string. 122 maxLength: 32768 123 type: string 124 observedGeneration: 125 description: observedGeneration represents the .metadata.generation 126 that the condition was set based upon. For instance, if .metadata.generation 127 is currently 12, but the .status.conditions[x].observedGeneration 128 is 9, the condition is out of date with respect to the current 129 state of the instance. 130 format: int64 131 minimum: 0 132 type: integer 133 reason: 134 description: reason contains a programmatic identifier indicating 135 the reason for the condition's last transition. Producers 136 of specific condition types may define expected values and 137 meanings for this field, and whether the values are considered 138 a guaranteed API. The value should be a CamelCase string. 139 This field may not be empty. 140 maxLength: 1024 141 minLength: 1 142 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ 143 type: string 144 status: 145 description: status of the condition, one of True, False, Unknown. 146 enum: 147 - "True" 148 - "False" 149 - Unknown 150 type: string 151 type: 152 description: type of condition in CamelCase or in foo.example.com/CamelCase. 153 --- Many .condition.type values are consistent across resources 154 like Available, but because arbitrary conditions can be useful 155 (see .node.status.conditions), the ability to deconflict is 156 important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) 157 maxLength: 316 158 pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ 159 type: string 160 required: 161 - lastTransitionTime 162 - message 163 - reason 164 - status 165 - type 166 type: object 167 type: array 168 expirationTime: 169 description: ExpirationTime is the time when a Release can be purged 170 format: date-time 171 type: string 172 postActionsExecution: 173 description: PostActionsExecution contains information about the post-actions 174 execution 175 properties: 176 completionTime: 177 description: CompletionTime is the time when the Release post-actions 178 execution was completed 179 format: date-time 180 type: string 181 startTime: 182 description: StartTime is the time when the Release post-actions 183 execution started 184 format: date-time 185 type: string 186 type: object 187 processing: 188 description: Processing contains information about the release processing 189 properties: 190 completionTime: 191 description: CompletionTime is the time when the Release processing 192 was completed 193 format: date-time 194 type: string 195 pipelineRun: 196 description: PipelineRun contains the namespaced name of the managed 197 Release PipelineRun executed as part of this release 198 pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?\/[a-z0-9]([-a-z0-9]*[a-z0-9])?$ 199 type: string 200 roleBinding: 201 description: RoleBinding contains the namespaced name of the roleBinding 202 created for the managed Release PipelineRun executed as part 203 of this release 204 pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?\/[a-z0-9]([-a-z0-9]*[a-z0-9])?$ 205 type: string 206 startTime: 207 description: StartTime is the time when the Release processing 208 started 209 format: date-time 210 type: string 211 type: object 212 startTime: 213 description: StartTime is the time when a Release started 214 format: date-time 215 type: string 216 target: 217 description: Target references where this release is intended to be 218 released to 219 pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ 220 type: string 221 validation: 222 description: Validation contains information about the release validation 223 properties: 224 failedPostValidation: 225 description: FailedPostValidation indicates whether the Release 226 was marked as invalid after being initially marked as valid 227 type: boolean 228 time: 229 description: Time is the time when the Release was validated or 230 when the validation state changed 231 format: date-time 232 type: string 233 type: object 234 type: object 235 type: object 236 served: true 237 storage: true 238 subresources: 239 status: {} 240 status: 241 acceptedNames: 242 kind: "" 243 plural: "" 244 conditions: [] 245 storedVersions: []