kuma

Форк
0
/
kuma.io_meshtcproutes.yaml 
222 строки · 9.6 Кб
1
---
2
apiVersion: apiextensions.k8s.io/v1
3
kind: CustomResourceDefinition
4
metadata:
5
  annotations:
6
    controller-gen.kubebuilder.io/version: v0.14.0
7
  name: meshtcproutes.kuma.io
8
spec:
9
  group: kuma.io
10
  names:
11
    categories:
12
    - kuma
13
    kind: MeshTCPRoute
14
    listKind: MeshTCPRouteList
15
    plural: meshtcproutes
16
    singular: meshtcproute
17
  scope: Namespaced
18
  versions:
19
  - additionalPrinterColumns:
20
    - jsonPath: .spec.targetRef.kind
21
      name: TargetRef Kind
22
      type: string
23
    - jsonPath: .spec.targetRef.name
24
      name: TargetRef Name
25
      type: string
26
    name: v1alpha1
27
    schema:
28
      openAPIV3Schema:
29
        properties:
30
          apiVersion:
31
            description: |-
32
              APIVersion defines the versioned schema of this representation of an object.
33
              Servers should convert recognized schemas to the latest internal value, and
34
              may reject unrecognized values.
35
              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
36
            type: string
37
          kind:
38
            description: |-
39
              Kind is a string value representing the REST resource this object represents.
40
              Servers may infer this from the endpoint the client submits requests to.
41
              Cannot be updated.
42
              In CamelCase.
43
              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
44
            type: string
45
          metadata:
46
            type: object
47
          spec:
48
            description: Spec is the specification of the Kuma MeshTCPRoute resource.
49
            properties:
50
              targetRef:
51
                description: |-
52
                  TargetRef is a reference to the resource the policy takes an effect on.
53
                  The resource could be either a real store object or virtual resource
54
                  defined in-place.
55
                properties:
56
                  kind:
57
                    description: Kind of the referenced resource
58
                    enum:
59
                    - Mesh
60
                    - MeshSubset
61
                    - MeshGateway
62
                    - MeshService
63
                    - MeshServiceSubset
64
                    - MeshHTTPRoute
65
                    type: string
66
                  mesh:
67
                    description: Mesh is reserved for future use to identify cross
68
                      mesh resources.
69
                    type: string
70
                  name:
71
                    description: |-
72
                      Name of the referenced resource. Can only be used with kinds: `MeshService`,
73
                      `MeshServiceSubset` and `MeshGatewayRoute`
74
                    type: string
75
                  proxyTypes:
76
                    description: |-
77
                      ProxyTypes specifies the data plane types that are subject to the policy. When not specified,
78
                      all data plane types are targeted by the policy.
79
                    items:
80
                      enum:
81
                      - Sidecar
82
                      - Gateway
83
                      type: string
84
                    minItems: 1
85
                    type: array
86
                  tags:
87
                    additionalProperties:
88
                      type: string
89
                    description: |-
90
                      Tags used to select a subset of proxies by tags. Can only be used with kinds
91
                      `MeshSubset` and `MeshServiceSubset`
92
                    type: object
93
                type: object
94
              to:
95
                description: |-
96
                  To list makes a match between the consumed services and corresponding
97
                  configurations
98
                items:
99
                  properties:
100
                    rules:
101
                      description: |-
102
                        Rules contains the routing rules applies to a combination of top-level
103
                        targetRef and the targetRef in this entry.
104
                      items:
105
                        properties:
106
                          default:
107
                            description: |-
108
                              Default holds routing rules that can be merged with rules from other
109
                              policies.
110
                            properties:
111
                              backendRefs:
112
                                items:
113
                                  description: BackendRef defines where to forward
114
                                    traffic.
115
                                  properties:
116
                                    kind:
117
                                      description: Kind of the referenced resource
118
                                      enum:
119
                                      - Mesh
120
                                      - MeshSubset
121
                                      - MeshGateway
122
                                      - MeshService
123
                                      - MeshServiceSubset
124
                                      - MeshHTTPRoute
125
                                      type: string
126
                                    mesh:
127
                                      description: Mesh is reserved for future use
128
                                        to identify cross mesh resources.
129
                                      type: string
130
                                    name:
131
                                      description: |-
132
                                        Name of the referenced resource. Can only be used with kinds: `MeshService`,
133
                                        `MeshServiceSubset` and `MeshGatewayRoute`
134
                                      type: string
135
                                    proxyTypes:
136
                                      description: |-
137
                                        ProxyTypes specifies the data plane types that are subject to the policy. When not specified,
138
                                        all data plane types are targeted by the policy.
139
                                      items:
140
                                        enum:
141
                                        - Sidecar
142
                                        - Gateway
143
                                        type: string
144
                                      minItems: 1
145
                                      type: array
146
                                    tags:
147
                                      additionalProperties:
148
                                        type: string
149
                                      description: |-
150
                                        Tags used to select a subset of proxies by tags. Can only be used with kinds
151
                                        `MeshSubset` and `MeshServiceSubset`
152
                                      type: object
153
                                    weight:
154
                                      default: 1
155
                                      minimum: 0
156
                                      type: integer
157
                                  type: object
158
                                minItems: 1
159
                                type: array
160
                            required:
161
                            - backendRefs
162
                            type: object
163
                        required:
164
                        - default
165
                        type: object
166
                      maxItems: 1
167
                      type: array
168
                    targetRef:
169
                      description: |-
170
                        TargetRef is a reference to the resource that represents a group of
171
                        destinations.
172
                      properties:
173
                        kind:
174
                          description: Kind of the referenced resource
175
                          enum:
176
                          - Mesh
177
                          - MeshSubset
178
                          - MeshGateway
179
                          - MeshService
180
                          - MeshServiceSubset
181
                          - MeshHTTPRoute
182
                          type: string
183
                        mesh:
184
                          description: Mesh is reserved for future use to identify
185
                            cross mesh resources.
186
                          type: string
187
                        name:
188
                          description: |-
189
                            Name of the referenced resource. Can only be used with kinds: `MeshService`,
190
                            `MeshServiceSubset` and `MeshGatewayRoute`
191
                          type: string
192
                        proxyTypes:
193
                          description: |-
194
                            ProxyTypes specifies the data plane types that are subject to the policy. When not specified,
195
                            all data plane types are targeted by the policy.
196
                          items:
197
                            enum:
198
                            - Sidecar
199
                            - Gateway
200
                            type: string
201
                          minItems: 1
202
                          type: array
203
                        tags:
204
                          additionalProperties:
205
                            type: string
206
                          description: |-
207
                            Tags used to select a subset of proxies by tags. Can only be used with kinds
208
                            `MeshSubset` and `MeshServiceSubset`
209
                          type: object
210
                      type: object
211
                  required:
212
                  - targetRef
213
                  type: object
214
                minItems: 1
215
                type: array
216
            required:
217
            - targetRef
218
            type: object
219
        type: object
220
    served: true
221
    storage: true
222
    subresources: {}
223

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.