File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -107,8 +107,7 @@ trap "clean_up" EXIT
107
107
mkdir -p " $TMP_DIR "
108
108
cp -a " $SERVICE_CONTROLLER_SOURCE_PATH /config" " $TMP_DIR "
109
109
110
- # remove crd/common from bases to prevent inclusion of AdoptedResource CRD from being generated in the bundle directory
111
- sed -i.orig ' /^bases:$/d' " $tmp_kustomize_config_dir /crd/kustomization.yaml"
110
+ # remove crd/common from resources to prevent inclusion of AdoptedResource CRD from being generated in the bundle directory
112
111
sed -i.orig ' /- common$/d' " $tmp_kustomize_config_dir /crd/kustomization.yaml"
113
112
114
113
# prepare bundle generate arguments
Original file line number Diff line number Diff line change 1
1
apiVersion: kustomize.config.k8s.io/v1beta1
2
2
kind: Kustomization
3
- bases:
4
- - common
5
3
resources:
4
+ - common
6
5
{ {- range .CRDNames } }
7
6
- bases/{ { $.APIGroup } }_{ { . } }.yaml
8
7
{ {- end } }
Original file line number Diff line number Diff line change 12
12
#commonLabels:
13
13
# someName: someValue
14
14
15
- bases :
15
+ resources :
16
16
- ../crd
17
17
- ../rbac
18
18
- ../controller
You can’t perform that action at this time.
0 commit comments