-
Notifications
You must be signed in to change notification settings - Fork 834
/
Copy pathkustomization.yaml
45 lines (38 loc) · 1.72 KB
/
kustomization.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# This kustomization.yaml is not intended to be run by itself,
# since it depends on service name and namespace that are out of this kustomize package.
# It should be run by config/default
resources:
- bases/machinelearning.seldon.io_seldondeployments.yaml
# +kubebuilder:scaffold:crdkustomizeresource
patchesStrategicMerge:
# Seldon: Add webhook conversion when we move to v1 of the API
#
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix.
# patches here are for enabling the conversion webhook for each CRD
#- patches/webhook_in_seldondeployments.yaml
# +kubebuilder:scaffold:crdkustomizewebhookpatch
# [CERTMANAGER] To enable webhook, uncomment all the sections with [CERTMANAGER] prefix.
# patches here are for enabling the CA injection for each CRD
- patches/cainjection_in_seldondeployments.yaml
# +kubebuilder:scaffold:crdkustomizecainjectionpatch
patchesJson6902:
# Ensure multiple levels of graph defn in OpenAPISpec as you can't have references let alone recursive refs
# https://github.com/kubernetes/kubernetes/issues/54579
- target:
group: apiextensions.k8s.io
version: v1
kind: CustomResourceDefinition
name: seldondeployments.machinelearning.seldon.io
path: patches/graph_children.yaml
# kubebuilder/k8s has an issues that Protocol from core types is not fully specied w.r.t OpenAPISchema
# https://github.com/kubernetes/kubernetes/issues/91395
# This fixes that by adding a TCP default
- target:
group: apiextensions.k8s.io
version: v1
kind: CustomResourceDefinition
name: seldondeployments.machinelearning.seldon.io
path: patches/protocol.yaml
# the following config is for teaching kustomize how to do kustomization for CRDs.
configurations:
- kustomizeconfig.yaml