Skip to content

Commit 1e48270

Browse files
committed
Fix the crd
1 parent 19e24b4 commit 1e48270

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

config/crd/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# since it depends on service name and namespace that are out of this kustomize package.
33
# It should be run by config/default
44
resources:
5-
# - bases/compute.functionmesh.io_functionmeshes.yaml
5+
- bases/compute.functionmesh.io_functionmeshes.yaml
66
- bases/compute.functionmesh.io_functions.yaml
77
- bases/compute.functionmesh.io_sources.yaml
88
- bases/compute.functionmesh.io_sinks.yaml

config/manifests/kustomization.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,12 @@ resources:
22
- ../default
33
- ../samples
44
- ../scorecard
5+
6+
patches:
7+
# Hacky way to shrink the size of FunctionMesh crd
8+
- target:
9+
kind: CustomResourceDefinition
10+
name: functionmeshes.compute.functionmesh.io
11+
patch: |-
12+
- op: remove
13+
path: /spec/validation

0 commit comments

Comments
 (0)