Skip to content

Commit 04e3afd

Browse files
committed
fix(kustomize): fix stale references and missing CRDs in kustomization
- config/rbac/kustomization.yaml: update rbgs_controller_role.yaml to role.yaml (renamed in #209 but reference not updated, breaking kustomize build) - config/crd/kustomization.yaml: add the instances and instancesets CRDs that were missing from the resources list, and sort entries alphabetically - Regenerate deploy/kubectl/manifests.yaml to reflect the two fixes above
1 parent 810d1f0 commit 04e3afd

3 files changed

Lines changed: 172 additions & 61 deletions

File tree

config/crd/kustomization.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
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/workloads.x-k8s.io_rolebasedgroups.yaml
6-
- bases/workloads.x-k8s.io_rolebasedgroupsets.yaml
75
- bases/workloads.x-k8s.io_clusterengineruntimeprofiles.yaml
6+
- bases/workloads.x-k8s.io_coordinatedpolicies.yaml
7+
- bases/workloads.x-k8s.io_instances.yaml
8+
- bases/workloads.x-k8s.io_instancesets.yaml
9+
- bases/workloads.x-k8s.io_rolebasedgroups.yaml
810
- bases/workloads.x-k8s.io_rolebasedgroupscalingadapters.yaml
11+
- bases/workloads.x-k8s.io_rolebasedgroupsets.yaml
912
- bases/workloads.x-k8s.io_roleinstances.yaml
1013
- bases/workloads.x-k8s.io_roleinstancesets.yaml
11-
- bases/workloads.x-k8s.io_coordinatedpolicies.yaml
1214
# +kubebuilder:scaffold:crdkustomizeresource
1315

1416
patches:

config/rbac/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
resources:
2-
- rbgs_controller_role.yaml
2+
- role.yaml
33
- role_binding.yaml
44
- service_account.yaml
55
- secret_role.yaml

0 commit comments

Comments
 (0)