|
| 1 | +--- |
| 2 | +apiVersion: apiextensions.k8s.io/v1 |
| 3 | +kind: CustomResourceDefinition |
| 4 | +metadata: |
| 5 | + annotations: |
| 6 | + controller-gen.kubebuilder.io/version: v0.16.4 |
| 7 | + name: repositories.gollum.soeren.cloud |
| 8 | +spec: |
| 9 | + group: gollum.soeren.cloud |
| 10 | + names: |
| 11 | + kind: Repository |
| 12 | + listKind: RepositoryList |
| 13 | + plural: repositories |
| 14 | + singular: repository |
| 15 | + scope: Namespaced |
| 16 | + versions: |
| 17 | + - additionalPrinterColumns: |
| 18 | + - jsonPath: .spec.owner |
| 19 | + name: Owner |
| 20 | + type: string |
| 21 | + - jsonPath: .spec.repo |
| 22 | + name: Repo |
| 23 | + type: string |
| 24 | + - jsonPath: .status.conditions[?(@.status)].status |
| 25 | + name: Ready |
| 26 | + type: string |
| 27 | + name: v1alpha1 |
| 28 | + schema: |
| 29 | + openAPIV3Schema: |
| 30 | + properties: |
| 31 | + apiVersion: |
| 32 | + description: |- |
| 33 | + APIVersion defines the versioned schema of this representation of an object. |
| 34 | + Servers should convert recognized schemas to the latest internal value, and |
| 35 | + may reject unrecognized values. |
| 36 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 37 | + type: string |
| 38 | + kind: |
| 39 | + description: |- |
| 40 | + Kind is a string value representing the REST resource this object represents. |
| 41 | + Servers may infer this from the endpoint the client submits requests to. |
| 42 | + Cannot be updated. |
| 43 | + In CamelCase. |
| 44 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 45 | + type: string |
| 46 | + metadata: |
| 47 | + type: object |
| 48 | + spec: |
| 49 | + description: RepositorySpec defines the desired state of Repository. |
| 50 | + properties: |
| 51 | + memorizeReleases: |
| 52 | + default: true |
| 53 | + type: boolean |
| 54 | + owner: |
| 55 | + type: string |
| 56 | + pipelineName: |
| 57 | + type: string |
| 58 | + pipelineRunName: |
| 59 | + type: string |
| 60 | + repo: |
| 61 | + type: string |
| 62 | + url: |
| 63 | + type: string |
| 64 | + versionFilter: |
| 65 | + properties: |
| 66 | + arg: |
| 67 | + type: string |
| 68 | + impl: |
| 69 | + enum: |
| 70 | + - semver |
| 71 | + type: string |
| 72 | + required: |
| 73 | + - arg |
| 74 | + - impl |
| 75 | + type: object |
| 76 | + workspaces: |
| 77 | + additionalProperties: |
| 78 | + additionalProperties: |
| 79 | + type: string |
| 80 | + type: object |
| 81 | + type: object |
| 82 | + required: |
| 83 | + - memorizeReleases |
| 84 | + - owner |
| 85 | + - pipelineRunName |
| 86 | + - repo |
| 87 | + - url |
| 88 | + - workspaces |
| 89 | + type: object |
| 90 | + status: |
| 91 | + description: RepositoryStatus defines the observed state of Repository. |
| 92 | + properties: |
| 93 | + conditions: |
| 94 | + items: |
| 95 | + description: Condition contains details for one aspect of the current |
| 96 | + state of this API Resource. |
| 97 | + properties: |
| 98 | + lastTransitionTime: |
| 99 | + description: |- |
| 100 | + lastTransitionTime is the last time the condition transitioned from one status to another. |
| 101 | + This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. |
| 102 | + format: date-time |
| 103 | + type: string |
| 104 | + message: |
| 105 | + description: |- |
| 106 | + message is a human readable message indicating details about the transition. |
| 107 | + This may be an empty string. |
| 108 | + maxLength: 32768 |
| 109 | + type: string |
| 110 | + observedGeneration: |
| 111 | + description: |- |
| 112 | + observedGeneration represents the .metadata.generation that the condition was set based upon. |
| 113 | + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date |
| 114 | + with respect to the current state of the instance. |
| 115 | + format: int64 |
| 116 | + minimum: 0 |
| 117 | + type: integer |
| 118 | + reason: |
| 119 | + description: |- |
| 120 | + reason contains a programmatic identifier indicating the reason for the condition's last transition. |
| 121 | + Producers of specific condition types may define expected values and meanings for this field, |
| 122 | + and whether the values are considered a guaranteed API. |
| 123 | + The value should be a CamelCase string. |
| 124 | + This field may not be empty. |
| 125 | + maxLength: 1024 |
| 126 | + minLength: 1 |
| 127 | + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ |
| 128 | + type: string |
| 129 | + status: |
| 130 | + description: status of the condition, one of True, False, Unknown. |
| 131 | + enum: |
| 132 | + - "True" |
| 133 | + - "False" |
| 134 | + - Unknown |
| 135 | + type: string |
| 136 | + type: |
| 137 | + description: type of condition in CamelCase or in foo.example.com/CamelCase. |
| 138 | + maxLength: 316 |
| 139 | + 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])$ |
| 140 | + type: string |
| 141 | + required: |
| 142 | + - lastTransitionTime |
| 143 | + - message |
| 144 | + - reason |
| 145 | + - status |
| 146 | + - type |
| 147 | + type: object |
| 148 | + type: array |
| 149 | + lastCheck: |
| 150 | + format: date-time |
| 151 | + type: string |
| 152 | + ready: |
| 153 | + type: boolean |
| 154 | + releases: |
| 155 | + additionalProperties: |
| 156 | + properties: |
| 157 | + hasAssets: |
| 158 | + type: boolean |
| 159 | + pipelineRuns: |
| 160 | + properties: |
| 161 | + name: |
| 162 | + type: string |
| 163 | + timestamp: |
| 164 | + format: date-time |
| 165 | + type: string |
| 166 | + required: |
| 167 | + - name |
| 168 | + type: object |
| 169 | + runsCreated: |
| 170 | + type: integer |
| 171 | + required: |
| 172 | + - hasAssets |
| 173 | + - runsCreated |
| 174 | + type: object |
| 175 | + type: object |
| 176 | + required: |
| 177 | + - lastCheck |
| 178 | + - ready |
| 179 | + - releases |
| 180 | + type: object |
| 181 | + type: object |
| 182 | + served: true |
| 183 | + storage: true |
| 184 | + subresources: |
| 185 | + status: {} |
0 commit comments