From fecf8295ba15ace0b971f9cd46e72fdf5751522b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ma=C5=82ek?= Date: Tue, 2 Apr 2024 11:27:56 +0200 Subject: [PATCH] fix: fix kustomization ClusterRoleBinding roleRef (#69) * feat(kustomization): fix ClusterRoleBinding roleRef * feat(kustomization): add DataPlane CRD only kustomization --------- Co-authored-by: Mattia Lavacca --- config/crd/dataplane/kustomization.yaml | 5 +++++ config/rbac/role/kustomization.yaml | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 config/crd/dataplane/kustomization.yaml diff --git a/config/crd/dataplane/kustomization.yaml b/config/crd/dataplane/kustomization.yaml new file mode 100644 index 000000000..eeabe98f7 --- /dev/null +++ b/config/crd/dataplane/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: +- ../bases/gateway-operator.konghq.com_dataplanes.yaml diff --git a/config/rbac/role/kustomization.yaml b/config/rbac/role/kustomization.yaml index 776f85c09..78695929d 100644 --- a/config/rbac/role/kustomization.yaml +++ b/config/rbac/role/kustomization.yaml @@ -1,7 +1,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization -namePrefix: gateway-operator- - resources: - role.yaml