...
1# Copyright 2020 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15apiVersion: apiextensions.k8s.io/v1
16kind: CustomResourceDefinition
17metadata:
18 annotations:
19 cnrm.cloud.google.com/version: 1.106.0
20 creationTimestamp: null
21 labels:
22 cnrm.cloud.google.com/managed-by-kcc: "true"
23 cnrm.cloud.google.com/stability-level: alpha
24 cnrm.cloud.google.com/system: "true"
25 cnrm.cloud.google.com/tf2crd: "true"
26 name: appengineservicesplittraffics.appengine.cnrm.cloud.google.com
27spec:
28 group: appengine.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: AppEngineServiceSplitTraffic
33 plural: appengineservicesplittraffics
34 shortNames:
35 - gcpappengineservicesplittraffic
36 - gcpappengineservicesplittraffics
37 singular: appengineservicesplittraffic
38 scope: Namespaced
39 versions:
40 - additionalPrinterColumns:
41 - jsonPath: .metadata.creationTimestamp
42 name: Age
43 type: date
44 - description: When 'True', the most recent reconcile of the resource succeeded
45 jsonPath: .status.conditions[?(@.type=='Ready')].status
46 name: Ready
47 type: string
48 - description: The reason for the value in 'Ready'
49 jsonPath: .status.conditions[?(@.type=='Ready')].reason
50 name: Status
51 type: string
52 - description: The last transition time for the value in 'Status'
53 jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
54 name: Status Age
55 type: date
56 name: v1alpha1
57 schema:
58 openAPIV3Schema:
59 properties:
60 apiVersion:
61 description: 'apiVersion defines the versioned schema of this representation
62 of an object. Servers should convert recognized schemas to the latest
63 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
64 type: string
65 kind:
66 description: 'kind is a string value representing the REST resource this
67 object represents. Servers may infer this from the endpoint the client
68 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
69 type: string
70 metadata:
71 type: object
72 spec:
73 properties:
74 migrateTraffic:
75 description: If set to true traffic will be migrated to this version.
76 type: boolean
77 project:
78 description: Immutable.
79 type: string
80 resourceID:
81 description: Immutable. Optional. The service of the resource. Used
82 for creation and acquisition. When unset, the value of `metadata.name`
83 is used as the default.
84 type: string
85 split:
86 description: Mapping that defines fractional HTTP traffic diversion
87 to different versions within the service.
88 properties:
89 allocations:
90 additionalProperties:
91 type: string
92 description: Mapping from version IDs within the service to fractional
93 (0.000, 1] allocations of traffic for that version. Each version
94 can be specified only once, but some versions in the service
95 may not have any traffic allocation. Services that have traffic
96 allocated cannot be deleted until either the service is deleted
97 or their traffic allocation is removed. Allocations must sum
98 to 1. Up to two decimal place precision is supported for IP-based
99 splits and up to three decimal places is supported for cookie-based
100 splits.
101 type: object
102 shardBy:
103 description: 'Mechanism used to determine which version a request
104 is sent to. The traffic selection algorithm will be stable for
105 either type until allocations are changed. Possible values:
106 ["UNSPECIFIED", "COOKIE", "IP", "RANDOM"].'
107 type: string
108 required:
109 - allocations
110 type: object
111 required:
112 - split
113 type: object
114 status:
115 properties:
116 conditions:
117 description: Conditions represent the latest available observation
118 of the resource's current state.
119 items:
120 properties:
121 lastTransitionTime:
122 description: Last time the condition transitioned from one status
123 to another.
124 type: string
125 message:
126 description: Human-readable message indicating details about
127 last transition.
128 type: string
129 reason:
130 description: Unique, one-word, CamelCase reason for the condition's
131 last transition.
132 type: string
133 status:
134 description: Status is the status of the condition. Can be True,
135 False, Unknown.
136 type: string
137 type:
138 description: Type is the type of the condition.
139 type: string
140 type: object
141 type: array
142 observedGeneration:
143 description: ObservedGeneration is the generation of the resource
144 that was most recently observed by the Config Connector controller.
145 If this is equal to metadata.generation, then that means that the
146 current reported status reflects the most recent desired state of
147 the resource.
148 type: integer
149 type: object
150 required:
151 - spec
152 type: object
153 served: true
154 storage: true
155 subresources:
156 status: {}
157status:
158 acceptedNames:
159 kind: ""
160 plural: ""
161 conditions: []
162 storedVersions: []
View as plain text