kuma

Форк
0
/
kuma.io_containerpatches.yaml 
114 строк · 4.3 Кб
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: containerpatches.kuma.io
8
spec:
9
  group: kuma.io
10
  names:
11
    categories:
12
    - kuma
13
    kind: ContainerPatch
14
    listKind: ContainerPatchList
15
    plural: containerpatches
16
    singular: containerpatch
17
  scope: Namespaced
18
  versions:
19
  - name: v1alpha1
20
    schema:
21
      openAPIV3Schema:
22
        description: ContainerPatch stores a list of patches to apply to init and
23
          sidecar containers.
24
        properties:
25
          apiVersion:
26
            description: |-
27
              APIVersion defines the versioned schema of this representation of an object.
28
              Servers should convert recognized schemas to the latest internal value, and
29
              may reject unrecognized values.
30
              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
31
            type: string
32
          kind:
33
            description: |-
34
              Kind is a string value representing the REST resource this object represents.
35
              Servers may infer this from the endpoint the client submits requests to.
36
              Cannot be updated.
37
              In CamelCase.
38
              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
39
            type: string
40
          mesh:
41
            type: string
42
          metadata:
43
            type: object
44
          spec:
45
            description: ContainerPatchSpec specifies the options available for a
46
              ContainerPatch
47
            properties:
48
              initPatch:
49
                description: InitPatch specifies jsonpatch to apply to an init container.
50
                items:
51
                  description: JsonPatchBlock is one json patch operation block.
52
                  properties:
53
                    from:
54
                      description: From is a jsonpatch from string, used by move and
55
                        copy operations.
56
                      type: string
57
                    op:
58
                      description: Op is a jsonpatch operation string.
59
                      enum:
60
                      - add
61
                      - remove
62
                      - replace
63
                      - move
64
                      - copy
65
                      type: string
66
                    path:
67
                      description: Path is a jsonpatch path string.
68
                      type: string
69
                    value:
70
                      description: |-
71
                        Value must be a string representing a valid json object used
72
                        by replace and add operations. String has to be escaped with " to be valid a json object.
73
                      type: string
74
                  required:
75
                  - op
76
                  - path
77
                  type: object
78
                type: array
79
              sidecarPatch:
80
                description: SidecarPatch specifies jsonpatch to apply to a sidecar
81
                  container.
82
                items:
83
                  description: JsonPatchBlock is one json patch operation block.
84
                  properties:
85
                    from:
86
                      description: From is a jsonpatch from string, used by move and
87
                        copy operations.
88
                      type: string
89
                    op:
90
                      description: Op is a jsonpatch operation string.
91
                      enum:
92
                      - add
93
                      - remove
94
                      - replace
95
                      - move
96
                      - copy
97
                      type: string
98
                    path:
99
                      description: Path is a jsonpatch path string.
100
                      type: string
101
                    value:
102
                      description: |-
103
                        Value must be a string representing a valid json object used
104
                        by replace and add operations. String has to be escaped with " to be valid a json object.
105
                      type: string
106
                  required:
107
                  - op
108
                  - path
109
                  type: object
110
                type: array
111
            type: object
112
        type: object
113
    served: true
114
    storage: true
115

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

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

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

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