|
| 1 | +apiVersion: apiextensions.k8s.io/v1 |
| 2 | +kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + name: subgraphs.apollographql.com |
| 5 | +spec: |
| 6 | + group: apollographql.com |
| 7 | + names: |
| 8 | + categories: [] |
| 9 | + kind: Subgraph |
| 10 | + plural: subgraphs |
| 11 | + shortNames: [] |
| 12 | + singular: subgraph |
| 13 | + scope: Namespaced |
| 14 | + versions: |
| 15 | + - additionalPrinterColumns: [] |
| 16 | + name: v1alpha2 |
| 17 | + schema: |
| 18 | + openAPIV3Schema: |
| 19 | + description: Auto-generated derived type for SubgraphSpec via `CustomResource` |
| 20 | + properties: |
| 21 | + spec: |
| 22 | + description: Subgraph Specification |
| 23 | + properties: |
| 24 | + endpoint: |
| 25 | + description: Subgraph endpoint. This is optional for connector subgraphs |
| 26 | + format: uri |
| 27 | + nullable: true |
| 28 | + type: string |
| 29 | + name: |
| 30 | + description: Optional override for subgraph name used in composition. If not provided, the name will be constructed from the Kubernetes resource name, namespace, and any SupergraphSchema prefix. |
| 31 | + nullable: true |
| 32 | + type: string |
| 33 | + schema: |
| 34 | + description: Subgraph schema source |
| 35 | + oneOf: |
| 36 | + - required: |
| 37 | + - sdl |
| 38 | + - required: |
| 39 | + - oci |
| 40 | + - required: |
| 41 | + - ociImage |
| 42 | + properties: |
| 43 | + oci: |
| 44 | + description: OCI artifact schema source |
| 45 | + properties: |
| 46 | + reference: |
| 47 | + description: OCI artifact reference |
| 48 | + type: string |
| 49 | + required: |
| 50 | + - reference |
| 51 | + type: object |
| 52 | + ociImage: |
| 53 | + description: OCI image schema source |
| 54 | + properties: |
| 55 | + path: |
| 56 | + description: Absolute path in the OCI image |
| 57 | + type: string |
| 58 | + reference: |
| 59 | + description: OCI image reference |
| 60 | + type: string |
| 61 | + required: |
| 62 | + - path |
| 63 | + - reference |
| 64 | + type: object |
| 65 | + sdl: |
| 66 | + description: In-line schema source |
| 67 | + type: string |
| 68 | + type: object |
| 69 | + required: |
| 70 | + - schema |
| 71 | + type: object |
| 72 | + status: |
| 73 | + description: Status of a `Subgraph` resource |
| 74 | + nullable: true |
| 75 | + properties: |
| 76 | + conditions: |
| 77 | + description: |- |
| 78 | + Set of conditions for this `Subgraph` |
| 79 | +
|
| 80 | + Following Kubernetes API conventions, conditions are represented as a list of named subobjects instead of a map. |
| 81 | + items: |
| 82 | + description: Status condition |
| 83 | + properties: |
| 84 | + lastTransitionTime: |
| 85 | + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. |
| 86 | + format: date-time |
| 87 | + type: string |
| 88 | + message: |
| 89 | + description: message is a human readable message indicating details about the transition. This may be an empty string. |
| 90 | + type: string |
| 91 | + observedGeneration: |
| 92 | + description: observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions\[x\].observedGeneration is 9, the condition is out of date with respect to the current state of the instance. |
| 93 | + format: int64 |
| 94 | + nullable: true |
| 95 | + type: integer |
| 96 | + reason: |
| 97 | + description: reason contains a programmatic identifier indicating the reason for the condition’s last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty. |
| 98 | + type: string |
| 99 | + schema: |
| 100 | + description: Schema status |
| 101 | + nullable: true |
| 102 | + oneOf: |
| 103 | + - required: |
| 104 | + - sdlHash |
| 105 | + - required: |
| 106 | + - oci |
| 107 | + - required: |
| 108 | + - ociImage |
| 109 | + properties: |
| 110 | + endpoint: |
| 111 | + description: Known endpoint |
| 112 | + format: uri |
| 113 | + nullable: true |
| 114 | + type: string |
| 115 | + oci: |
| 116 | + description: OCI artifact source status |
| 117 | + properties: |
| 118 | + sdlHash: |
| 119 | + description: Digest of the artifact |
| 120 | + type: string |
| 121 | + updatedAt: |
| 122 | + description: last time this was updated |
| 123 | + format: date-time |
| 124 | + type: string |
| 125 | + required: |
| 126 | + - sdlHash |
| 127 | + - updatedAt |
| 128 | + type: object |
| 129 | + ociImage: |
| 130 | + description: OCI image source status |
| 131 | + properties: |
| 132 | + sdlHash: |
| 133 | + description: Digest of the artifact |
| 134 | + type: string |
| 135 | + updatedAt: |
| 136 | + description: last time this was updated |
| 137 | + format: date-time |
| 138 | + type: string |
| 139 | + required: |
| 140 | + - sdlHash |
| 141 | + - updatedAt |
| 142 | + type: object |
| 143 | + sdlHash: |
| 144 | + description: In-line schema source status |
| 145 | + type: string |
| 146 | + type: object |
| 147 | + status: |
| 148 | + description: status of the condition, one of True, False, Unknown. |
| 149 | + enum: |
| 150 | + - 'True' |
| 151 | + - 'False' |
| 152 | + - Unknown |
| 153 | + type: string |
| 154 | + type: |
| 155 | + description: type of condition in CamelCase or in foo.example.com/CamelCase. |
| 156 | + type: string |
| 157 | + required: |
| 158 | + - lastTransitionTime |
| 159 | + - message |
| 160 | + - reason |
| 161 | + - status |
| 162 | + - type |
| 163 | + type: object |
| 164 | + type: array |
| 165 | + x-kubernetes-list-map-keys: |
| 166 | + - type |
| 167 | + x-kubernetes-list-type: map |
| 168 | + schema: |
| 169 | + description: Latest schema detected by the Apollo Operator |
| 170 | + nullable: true |
| 171 | + oneOf: |
| 172 | + - required: |
| 173 | + - sdlHash |
| 174 | + - required: |
| 175 | + - oci |
| 176 | + - required: |
| 177 | + - ociImage |
| 178 | + properties: |
| 179 | + endpoint: |
| 180 | + description: Known endpoint |
| 181 | + format: uri |
| 182 | + nullable: true |
| 183 | + type: string |
| 184 | + oci: |
| 185 | + description: OCI artifact source status |
| 186 | + properties: |
| 187 | + sdlHash: |
| 188 | + description: Digest of the artifact |
| 189 | + type: string |
| 190 | + updatedAt: |
| 191 | + description: last time this was updated |
| 192 | + format: date-time |
| 193 | + type: string |
| 194 | + required: |
| 195 | + - sdlHash |
| 196 | + - updatedAt |
| 197 | + type: object |
| 198 | + ociImage: |
| 199 | + description: OCI image source status |
| 200 | + properties: |
| 201 | + sdlHash: |
| 202 | + description: Digest of the artifact |
| 203 | + type: string |
| 204 | + updatedAt: |
| 205 | + description: last time this was updated |
| 206 | + format: date-time |
| 207 | + type: string |
| 208 | + required: |
| 209 | + - sdlHash |
| 210 | + - updatedAt |
| 211 | + type: object |
| 212 | + sdlHash: |
| 213 | + description: In-line schema source status |
| 214 | + type: string |
| 215 | + type: object |
| 216 | + required: |
| 217 | + - conditions |
| 218 | + type: object |
| 219 | + required: |
| 220 | + - spec |
| 221 | + title: Subgraph |
| 222 | + type: object |
| 223 | + served: true |
| 224 | + storage: true |
| 225 | + subresources: |
| 226 | + status: {} |
0 commit comments