add generated code for policy objects
@@ -115,6 +115,8 @@ type Policy struct {
type NamedRoleBindings []NamedRoleBinding
+// +genclient=true
+
// PolicyBinding is a object that holds all the RoleBindings for a particular namespace. There is
// one PolicyBinding document per referenced Policy namespace
type PolicyBinding struct {
@@ -406,6 +408,9 @@ type ClusterRoleBinding struct {
type NamedClusterRoles []NamedClusterRole
+// +genclient=true
+// +nonNamespaced=true
+
// ClusterPolicy is a object that holds all the ClusterRoles for a particular namespace. There is at most
// one ClusterPolicy document per namespace.
type ClusterPolicy struct {
@@ -422,6 +427,9 @@ type ClusterPolicy struct {
type NamedClusterRoleBindings []NamedClusterRoleBinding
+// +genclient=true
+// +nonNamespaced=true
+
// ClusterPolicyBinding is a object that holds all the ClusterRoleBindings for a particular namespace. There is
// one ClusterPolicyBinding document per referenced ClusterPolicy namespace
type ClusterPolicyBinding struct {
