github.com/ferryproxy/api@v0.4.2/config/crd/bases/traffic.ferryproxy.io_routepolicies.yaml (about) 1 --- 2 apiVersion: apiextensions.k8s.io/v1 3 kind: CustomResourceDefinition 4 metadata: 5 annotations: 6 controller-gen.kubebuilder.io/version: v0.9.2 7 creationTimestamp: null 8 name: routepolicies.traffic.ferryproxy.io 9 spec: 10 group: traffic.ferryproxy.io 11 names: 12 kind: RoutePolicy 13 listKind: RoutePolicyList 14 plural: routepolicies 15 singular: routepolicy 16 scope: Namespaced 17 versions: 18 - additionalPrinterColumns: 19 - jsonPath: .status.routeCount 20 name: route-count 21 type: integer 22 - jsonPath: .status.phase 23 name: status 24 type: string 25 - jsonPath: .status.lastSynchronizationTimestamp 26 name: last-synchronization 27 type: date 28 - jsonPath: .metadata.creationTimestamp 29 name: age 30 type: date 31 name: v1alpha2 32 schema: 33 openAPIV3Schema: 34 description: RoutePolicy is the Schema for the routepolicies API 35 properties: 36 apiVersion: 37 description: 'APIVersion defines the versioned schema of this representation 38 of an object. Servers should convert recognized schemas to the latest 39 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 40 type: string 41 kind: 42 description: 'Kind is a string value representing the REST resource this 43 object represents. Servers may infer this from the endpoint the client 44 submits requests to. Cannot be updated. In CamelCase. 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: RoutePolicySpec defines the desired state of RoutePolicy 50 properties: 51 exports: 52 description: Exports is a list of exports of the RoutePolicy 53 items: 54 description: RoutePolicySpecRule defines the desired import of RoutePolicySpec 55 properties: 56 hubName: 57 description: HubName is specifies the name of the Hub 58 type: string 59 service: 60 description: Service is specifies the service of matched 61 properties: 62 labels: 63 additionalProperties: 64 type: string 65 description: Labels is specifies the labels of matched 66 type: object 67 name: 68 description: Name is specifies the name of matched 69 type: string 70 namespace: 71 description: Namespace is specifies the namespace of matched 72 type: string 73 type: object 74 required: 75 - hubName 76 type: object 77 type: array 78 imports: 79 description: Imports is a list of imports of the RoutePolicy 80 items: 81 description: RoutePolicySpecRule defines the desired import of RoutePolicySpec 82 properties: 83 hubName: 84 description: HubName is specifies the name of the Hub 85 type: string 86 service: 87 description: Service is specifies the service of matched 88 properties: 89 labels: 90 additionalProperties: 91 type: string 92 description: Labels is specifies the labels of matched 93 type: object 94 name: 95 description: Name is specifies the name of matched 96 type: string 97 namespace: 98 description: Namespace is specifies the namespace of matched 99 type: string 100 type: object 101 required: 102 - hubName 103 type: object 104 type: array 105 required: 106 - exports 107 - imports 108 type: object 109 status: 110 description: RoutePolicyStatus defines the observed state of RoutePolicy 111 properties: 112 conditions: 113 description: Conditions current service state 114 items: 115 description: "Condition contains details for one aspect of the current 116 state of this API Resource. --- This struct is intended for direct 117 use as an array at the field path .status.conditions. For example, 118 type FooStatus struct{ // Represents the observations of a foo's 119 current state. // Known .status.conditions.type are: \"Available\", 120 \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge 121 // +listType=map // +listMapKey=type Conditions []metav1.Condition 122 `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" 123 protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }" 124 properties: 125 lastTransitionTime: 126 description: lastTransitionTime is the last time the condition 127 transitioned from one status to another. This should be when 128 the underlying condition changed. If that is not known, then 129 using the time when the API field changed is acceptable. 130 format: date-time 131 type: string 132 message: 133 description: message is a human readable message indicating 134 details about the transition. This may be an empty string. 135 maxLength: 32768 136 type: string 137 observedGeneration: 138 description: observedGeneration represents the .metadata.generation 139 that the condition was set based upon. For instance, if .metadata.generation 140 is currently 12, but the .status.conditions[x].observedGeneration 141 is 9, the condition is out of date with respect to the current 142 state of the instance. 143 format: int64 144 minimum: 0 145 type: integer 146 reason: 147 description: reason contains a programmatic identifier indicating 148 the reason for the condition's last transition. Producers 149 of specific condition types may define expected values and 150 meanings for this field, and whether the values are considered 151 a guaranteed API. The value should be a CamelCase string. 152 This field may not be empty. 153 maxLength: 1024 154 minLength: 1 155 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ 156 type: string 157 status: 158 description: status of the condition, one of True, False, Unknown. 159 enum: 160 - "True" 161 - "False" 162 - Unknown 163 type: string 164 type: 165 description: type of condition in CamelCase or in foo.example.com/CamelCase. 166 --- Many .condition.type values are consistent across resources 167 like Available, but because arbitrary conditions can be useful 168 (see .node.status.conditions), the ability to deconflict is 169 important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) 170 maxLength: 316 171 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])$ 172 type: string 173 required: 174 - lastTransitionTime 175 - message 176 - reason 177 - status 178 - type 179 type: object 180 type: array 181 lastSynchronizationTimestamp: 182 description: LastSynchronizationTimestamp is the last time synchronization 183 format: date-time 184 type: string 185 phase: 186 description: Phase is the phase of the RoutePolicy 187 type: string 188 routeCount: 189 description: RouteCount is the number of Route in the RoutePolicy 190 type: integer 191 type: object 192 type: object 193 served: true 194 storage: true 195 subresources: 196 status: {}