|
| 1 | +apiVersion: apiextensions.k8s.io/v1 |
| 2 | +kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + annotations: |
| 5 | + controller-gen.kubebuilder.io/version: v0.15.0 |
| 6 | + creationTimestamp: null |
| 7 | + name: shipwrightbuilds.operator.shipwright.io |
| 8 | +spec: |
| 9 | + group: operator.shipwright.io |
| 10 | + names: |
| 11 | + kind: ShipwrightBuild |
| 12 | + listKind: ShipwrightBuildList |
| 13 | + plural: shipwrightbuilds |
| 14 | + singular: shipwrightbuild |
| 15 | + scope: Cluster |
| 16 | + versions: |
| 17 | + - name: v1alpha1 |
| 18 | + schema: |
| 19 | + openAPIV3Schema: |
| 20 | + description: ShipwrightBuild represents the deployment of Shipwright's build |
| 21 | + controller on a Kubernetes cluster. |
| 22 | + properties: |
| 23 | + apiVersion: |
| 24 | + description: |- |
| 25 | + APIVersion defines the versioned schema of this representation of an object. |
| 26 | + Servers should convert recognized schemas to the latest internal value, and |
| 27 | + may reject unrecognized values. |
| 28 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 29 | + type: string |
| 30 | + kind: |
| 31 | + description: |- |
| 32 | + Kind is a string value representing the REST resource this object represents. |
| 33 | + Servers may infer this from the endpoint the client submits requests to. |
| 34 | + Cannot be updated. |
| 35 | + In CamelCase. |
| 36 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 37 | + type: string |
| 38 | + metadata: |
| 39 | + type: object |
| 40 | + spec: |
| 41 | + description: ShipwrightBuildSpec defines the configuration of a Shipwright |
| 42 | + Build deployment. |
| 43 | + properties: |
| 44 | + targetNamespace: |
| 45 | + description: TargetNamespace is the target namespace where Shipwright's |
| 46 | + build controller will be deployed. |
| 47 | + type: string |
| 48 | + type: object |
| 49 | + status: |
| 50 | + description: ShipwrightBuildStatus defines the observed state of ShipwrightBuild |
| 51 | + properties: |
| 52 | + conditions: |
| 53 | + description: Conditions holds the latest available observations of |
| 54 | + a resource's current state. |
| 55 | + items: |
| 56 | + description: "Condition contains details for one aspect of the current |
| 57 | + state of this API Resource.\n---\nThis struct is intended for |
| 58 | + direct use as an array at the field path .status.conditions. For |
| 59 | + example,\n\n\n\ttype FooStatus struct{\n\t // Represents the |
| 60 | + observations of a foo's current state.\n\t // Known .status.conditions.type |
| 61 | + are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // |
| 62 | + +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t |
| 63 | + \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" |
| 64 | + patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t |
| 65 | + \ // other fields\n\t}" |
| 66 | + properties: |
| 67 | + lastTransitionTime: |
| 68 | + description: |- |
| 69 | + lastTransitionTime is the last time the condition transitioned from one status to another. |
| 70 | + This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. |
| 71 | + format: date-time |
| 72 | + type: string |
| 73 | + message: |
| 74 | + description: |- |
| 75 | + message is a human readable message indicating details about the transition. |
| 76 | + This may be an empty string. |
| 77 | + maxLength: 32768 |
| 78 | + type: string |
| 79 | + observedGeneration: |
| 80 | + description: |- |
| 81 | + observedGeneration represents the .metadata.generation that the condition was set based upon. |
| 82 | + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date |
| 83 | + with respect to the current state of the instance. |
| 84 | + format: int64 |
| 85 | + minimum: 0 |
| 86 | + type: integer |
| 87 | + reason: |
| 88 | + description: |- |
| 89 | + reason contains a programmatic identifier indicating the reason for the condition's last transition. |
| 90 | + Producers of specific condition types may define expected values and meanings for this field, |
| 91 | + and whether the values are considered a guaranteed API. |
| 92 | + The value should be a CamelCase string. |
| 93 | + This field may not be empty. |
| 94 | + maxLength: 1024 |
| 95 | + minLength: 1 |
| 96 | + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ |
| 97 | + type: string |
| 98 | + status: |
| 99 | + description: status of the condition, one of True, False, Unknown. |
| 100 | + enum: |
| 101 | + - "True" |
| 102 | + - "False" |
| 103 | + - Unknown |
| 104 | + type: string |
| 105 | + type: |
| 106 | + description: |- |
| 107 | + type of condition in CamelCase or in foo.example.com/CamelCase. |
| 108 | + --- |
| 109 | + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be |
| 110 | + useful (see .node.status.conditions), the ability to deconflict is important. |
| 111 | + The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) |
| 112 | + maxLength: 316 |
| 113 | + 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])$ |
| 114 | + type: string |
| 115 | + required: |
| 116 | + - lastTransitionTime |
| 117 | + - message |
| 118 | + - reason |
| 119 | + - status |
| 120 | + - type |
| 121 | + type: object |
| 122 | + type: array |
| 123 | + type: object |
| 124 | + type: object |
| 125 | + served: true |
| 126 | + storage: true |
| 127 | + subresources: |
| 128 | + status: {} |
| 129 | +status: |
| 130 | + acceptedNames: |
| 131 | + kind: "" |
| 132 | + plural: "" |
| 133 | + conditions: null |
| 134 | + storedVersions: null |
0 commit comments