...
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: linkerdworkloadinjections.linkerd.edge.ncr.com
8spec:
9 group: linkerd.edge.ncr.com
10 names:
11 kind: LinkerdWorkloadInjection
12 listKind: LinkerdWorkloadInjectionList
13 plural: linkerdworkloadinjections
14 singular: linkerdworkloadinjection
15 scope: Cluster
16 versions:
17 - additionalPrinterColumns:
18 - jsonPath: .status.conditions[?(@.type=="Ready")].status
19 name: Ready
20 type: string
21 - jsonPath: .status.conditions[?(@.type=="Ready")].message
22 name: Status
23 type: string
24 - jsonPath: .status.startedAt
25 name: StartTime
26 type: string
27 - jsonPath: .status.completedAt
28 name: CompletionTime
29 type: string
30 - jsonPath: .metadata.creationTimestamp
31 name: Age
32 type: date
33 name: v1alpha1
34 schema:
35 openAPIV3Schema:
36 description: LinkerdWorkloadInjection is the Schema for the LinkerdWorkloadInjection
37 API
38 properties:
39 apiVersion:
40 description: |-
41 APIVersion defines the versioned schema of this representation of an object.
42 Servers should convert recognized schemas to the latest internal value, and
43 may reject unrecognized values.
44 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
45 type: string
46 kind:
47 description: |-
48 Kind is a string value representing the REST resource this object represents.
49 Servers may infer this from the endpoint the client submits requests to.
50 Cannot be updated.
51 In CamelCase.
52 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
53 type: string
54 metadata:
55 type: object
56 spec:
57 description: LinkerdInjectionWorkloadSpec defines list of namespaces to
58 inject
59 properties:
60 force:
61 description: Force set to false by default. When set to true, defined
62 workloads will be restarted even if the the proxy exists and up
63 to date
64 type: boolean
65 namespaces:
66 description: Namespaces defines the list of namespaces to be restarted.
67 When empty, all namespaces will be attempted to be restarted
68 items:
69 type: string
70 type: array
71 type: object
72 status:
73 description: LinkerdStatus defines the observed state of Linkerd
74 properties:
75 completedAt:
76 description: CompletedAt reports the time that the workloadinjection
77 completed
78 format: date-time
79 type: string
80 conditions:
81 description: Conditions reports the current status of the linkerdworkloadinjection
82 CR
83 items:
84 description: "Condition contains details for one aspect of the current
85 state of this API Resource.\n---\nThis struct is intended for
86 direct use as an array at the field path .status.conditions. For
87 example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
88 observations of a foo's current state.\n\t // Known .status.conditions.type
89 are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
90 +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
91 \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
92 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
93 \ // other fields\n\t}"
94 properties:
95 lastTransitionTime:
96 description: |-
97 lastTransitionTime is the last time the condition transitioned from one status to another.
98 This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
99 format: date-time
100 type: string
101 message:
102 description: |-
103 message is a human readable message indicating details about the transition.
104 This may be an empty string.
105 maxLength: 32768
106 type: string
107 observedGeneration:
108 description: |-
109 observedGeneration represents the .metadata.generation that the condition was set based upon.
110 For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
111 with respect to the current state of the instance.
112 format: int64
113 minimum: 0
114 type: integer
115 reason:
116 description: |-
117 reason contains a programmatic identifier indicating the reason for the condition's last transition.
118 Producers of specific condition types may define expected values and meanings for this field,
119 and whether the values are considered a guaranteed API.
120 The value should be a CamelCase string.
121 This field may not be empty.
122 maxLength: 1024
123 minLength: 1
124 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
125 type: string
126 status:
127 description: status of the condition, one of True, False, Unknown.
128 enum:
129 - "True"
130 - "False"
131 - Unknown
132 type: string
133 type:
134 description: |-
135 type of condition in CamelCase or in foo.example.com/CamelCase.
136 ---
137 Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
138 useful (see .node.status.conditions), the ability to deconflict is important.
139 The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
140 maxLength: 316
141 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])$
142 type: string
143 required:
144 - lastTransitionTime
145 - message
146 - reason
147 - status
148 - type
149 type: object
150 type: array
151 failedInventory:
152 description: FailedInventory reports the list of workloads that failed
153 to restart due to an error
154 properties:
155 entries:
156 description: Entries of Kubernetes resource object references.
157 items:
158 description: ResourceRef contains the information necessary
159 to locate a resource within a cluster.
160 properties:
161 id:
162 description: |-
163 ID is the string representation of the Kubernetes resource object's metadata,
164 in the format '<namespace>_<name>_<group>_<kind>'.
165 type: string
166 v:
167 description: Version is the API version of the Kubernetes
168 resource object's kind.
169 type: string
170 required:
171 - id
172 - v
173 type: object
174 type: array
175 type: object
176 inventory:
177 description: Inventory reports the list of workloads that had been
178 restarted
179 properties:
180 entries:
181 description: Entries of Kubernetes resource object references.
182 items:
183 description: ResourceRef contains the information necessary
184 to locate a resource within a cluster.
185 properties:
186 id:
187 description: |-
188 ID is the string representation of the Kubernetes resource object's metadata,
189 in the format '<namespace>_<name>_<group>_<kind>'.
190 type: string
191 v:
192 description: Version is the API version of the Kubernetes
193 resource object's kind.
194 type: string
195 required:
196 - id
197 - v
198 type: object
199 type: array
200 type: object
201 startedAt:
202 description: StartAt reports the time that the workloadinjection began
203 format: date-time
204 type: string
205 type: object
206 type: object
207 served: true
208 storage: true
209 subresources:
210 status: {}
View as plain text