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