3c9987ef6e7d1efbd3f7c9c3df70463f4950c7df
[demo.git] / vnfs / DAaaS / 00-init / gloo / templates / 101-knative-crds-0.5.1.yaml
1 {{- if .Values.settings.integrations.knative.enabled }}
2
3 ---
4 # ↓ required as knative dependency on istio crds is hard-coded right now ↓
5 apiVersion: apiextensions.k8s.io/v1beta1
6 kind: CustomResourceDefinition
7 metadata:
8   name: virtualservices.networking.istio.io
9   annotations:
10     "helm.sh/hook": crd-install
11   labels:
12     app: istio-pilot
13 spec:
14   group: networking.istio.io
15   names:
16     kind: VirtualService
17     listKind: VirtualServiceList
18     plural: virtualservices
19     singular: virtualservice
20     categories:
21       - istio-io
22       - networking-istio-io
23   scope: Namespaced
24   version: v1alpha3
25
26 # ↑ required as knative dependency on istio crds is hard-coded right now ↑
27
28 ---
29 apiVersion: apiextensions.k8s.io/v1beta1
30 kind: CustomResourceDefinition
31 metadata:
32   annotations:
33     "helm.sh/hook": crd-install
34   labels:
35     knative.dev/crd-install: "true"
36     serving.knative.dev/release: devel
37   name: certificates.networking.internal.knative.dev
38 spec:
39   additionalPrinterColumns:
40     - JSONPath: .status.conditions[?(@.type=="Ready")].status
41       name: Ready
42       type: string
43     - JSONPath: .status.conditions[?(@.type=="Ready")].reason
44       name: Reason
45       type: string
46   group: networking.internal.knative.dev
47   names:
48     categories:
49       - all
50       - knative-internal
51       - networking
52     kind: Certificate
53     plural: certificates
54     shortNames:
55       - kcert
56     singular: certificate
57   scope: Namespaced
58   subresources:
59     status: {}
60   version: v1alpha1
61
62 ---
63 apiVersion: apiextensions.k8s.io/v1beta1
64 kind: CustomResourceDefinition
65 metadata:
66   annotations:
67     "helm.sh/hook": crd-install
68   labels:
69     knative.dev/crd-install: "true"
70     serving.knative.dev/release: devel
71   name: clusteringresses.networking.internal.knative.dev
72 spec:
73   additionalPrinterColumns:
74     - JSONPath: .status.conditions[?(@.type=='Ready')].status
75       name: Ready
76       type: string
77     - JSONPath: .status.conditions[?(@.type=='Ready')].reason
78       name: Reason
79       type: string
80   group: networking.internal.knative.dev
81   names:
82     categories:
83       - all
84       - knative-internal
85       - networking
86     kind: ClusterIngress
87     plural: clusteringresses
88     singular: clusteringress
89   scope: Cluster
90   subresources:
91     status: {}
92   version: v1alpha1
93
94 ---
95 apiVersion: apiextensions.k8s.io/v1beta1
96 kind: CustomResourceDefinition
97 metadata:
98   annotations:
99     "helm.sh/hook": crd-install
100   labels:
101     knative.dev/crd-install: "true"
102     serving.knative.dev/release: devel
103   name: configurations.serving.knative.dev
104 spec:
105   additionalPrinterColumns:
106     - JSONPath: .status.latestCreatedRevisionName
107       name: LatestCreated
108       type: string
109     - JSONPath: .status.latestReadyRevisionName
110       name: LatestReady
111       type: string
112     - JSONPath: .status.conditions[?(@.type=='Ready')].status
113       name: Ready
114       type: string
115     - JSONPath: .status.conditions[?(@.type=='Ready')].reason
116       name: Reason
117       type: string
118   group: serving.knative.dev
119   names:
120     categories:
121       - all
122       - knative
123       - serving
124     kind: Configuration
125     plural: configurations
126     shortNames:
127       - config
128       - cfg
129     singular: configuration
130   scope: Namespaced
131   subresources:
132     status: {}
133   version: v1alpha1
134
135 ---
136 apiVersion: apiextensions.k8s.io/v1beta1
137 kind: CustomResourceDefinition
138 metadata:
139   annotations:
140     "helm.sh/hook": crd-install
141   labels:
142     knative.dev/crd-install: "true"
143   name: images.caching.internal.knative.dev
144 spec:
145   group: caching.internal.knative.dev
146   names:
147     categories:
148       - all
149       - knative-internal
150       - caching
151     kind: Image
152     plural: images
153     shortNames:
154       - img
155     singular: image
156   scope: Namespaced
157   subresources:
158     status: {}
159   version: v1alpha1
160
161 ---
162 apiVersion: apiextensions.k8s.io/v1beta1
163 kind: CustomResourceDefinition
164 metadata:
165   annotations:
166     "helm.sh/hook": crd-install
167   labels:
168     knative.dev/crd-install: "true"
169     serving.knative.dev/release: devel
170   name: podautoscalers.autoscaling.internal.knative.dev
171 spec:
172   additionalPrinterColumns:
173     - JSONPath: .status.conditions[?(@.type=='Ready')].status
174       name: Ready
175       type: string
176     - JSONPath: .status.conditions[?(@.type=='Ready')].reason
177       name: Reason
178       type: string
179   group: autoscaling.internal.knative.dev
180   names:
181     categories:
182       - all
183       - knative-internal
184       - autoscaling
185     kind: PodAutoscaler
186     plural: podautoscalers
187     shortNames:
188       - kpa
189     singular: podautoscaler
190   scope: Namespaced
191   subresources:
192     status: {}
193   version: v1alpha1
194
195 ---
196 apiVersion: apiextensions.k8s.io/v1beta1
197 kind: CustomResourceDefinition
198 metadata:
199   annotations:
200     "helm.sh/hook": crd-install
201   labels:
202     knative.dev/crd-install: "true"
203     serving.knative.dev/release: devel
204   name: revisions.serving.knative.dev
205 spec:
206   additionalPrinterColumns:
207     - JSONPath: .status.serviceName
208       name: Service Name
209       type: string
210     - JSONPath: .metadata.labels['serving\.knative\.dev/configurationGeneration']
211       name: Generation
212       type: string
213     - JSONPath: .status.conditions[?(@.type=='Ready')].status
214       name: Ready
215       type: string
216     - JSONPath: .status.conditions[?(@.type=='Ready')].reason
217       name: Reason
218       type: string
219   group: serving.knative.dev
220   names:
221     categories:
222       - all
223       - knative
224       - serving
225     kind: Revision
226     plural: revisions
227     shortNames:
228       - rev
229     singular: revision
230   scope: Namespaced
231   subresources:
232     status: {}
233   version: v1alpha1
234
235 ---
236 apiVersion: apiextensions.k8s.io/v1beta1
237 kind: CustomResourceDefinition
238 metadata:
239   annotations:
240     "helm.sh/hook": crd-install
241   labels:
242     knative.dev/crd-install: "true"
243     serving.knative.dev/release: devel
244   name: routes.serving.knative.dev
245 spec:
246   additionalPrinterColumns:
247     - JSONPath: .status.domain
248       name: Domain
249       type: string
250     - JSONPath: .status.conditions[?(@.type=='Ready')].status
251       name: Ready
252       type: string
253     - JSONPath: .status.conditions[?(@.type=='Ready')].reason
254       name: Reason
255       type: string
256   group: serving.knative.dev
257   names:
258     categories:
259       - all
260       - knative
261       - serving
262     kind: Route
263     plural: routes
264     shortNames:
265       - rt
266     singular: route
267   scope: Namespaced
268   subresources:
269     status: {}
270   version: v1alpha1
271
272 ---
273 apiVersion: apiextensions.k8s.io/v1beta1
274 kind: CustomResourceDefinition
275 metadata:
276   annotations:
277     "helm.sh/hook": crd-install
278   labels:
279     knative.dev/crd-install: "true"
280     serving.knative.dev/release: devel
281   name: services.serving.knative.dev
282 spec:
283   additionalPrinterColumns:
284     - JSONPath: .status.domain
285       name: Domain
286       type: string
287     - JSONPath: .status.latestCreatedRevisionName
288       name: LatestCreated
289       type: string
290     - JSONPath: .status.latestReadyRevisionName
291       name: LatestReady
292       type: string
293     - JSONPath: .status.conditions[?(@.type=='Ready')].status
294       name: Ready
295       type: string
296     - JSONPath: .status.conditions[?(@.type=='Ready')].reason
297       name: Reason
298       type: string
299   group: serving.knative.dev
300   names:
301     categories:
302       - all
303       - knative
304       - serving
305     kind: Service
306     plural: services
307     shortNames:
308       - kservice
309       - ksvc
310     singular: service
311   scope: Namespaced
312   subresources:
313     status: {}
314   version: v1alpha1
315
316 ---
317 apiVersion: apiextensions.k8s.io/v1beta1
318 kind: CustomResourceDefinition
319 metadata:
320   annotations:
321     "helm.sh/hook": crd-install
322   labels:
323     knative.dev/crd-install: "true"
324     serving.knative.dev/release: devel
325   name: serverlessservices.networking.internal.knative.dev
326 spec:
327   group: networking.internal.knative.dev
328   names:
329     categories:
330       - all
331       - knative-internal
332       - networking
333     kind: ServerlessService
334     plural: serverlessservices
335     shortNames:
336       - sks
337     singular: serverlessservice
338   scope: Namespaced
339   subresources:
340     status: {}
341   version: v1alpha1
342
343 {{- end }}