From 9c18471879bf817370c036ab95fb35dcd0bd38de Mon Sep 17 00:00:00 2001 From: Massimiliano Giovagnoli Date: Sat, 13 Aug 2022 13:50:23 +0200 Subject: [PATCH] feat(tenant/tenant/spec): add initial knob to enable the gitops-ready rbac Signed-off-by: Massimiliano Giovagnoli --- api/v1beta1/tenant_types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/v1beta1/tenant_types.go b/api/v1beta1/tenant_types.go index 740c6f5a..74959479 100644 --- a/api/v1beta1/tenant_types.go +++ b/api/v1beta1/tenant_types.go @@ -35,6 +35,8 @@ type TenantSpec struct { ImagePullPolicies []ImagePullPolicySpec `json:"imagePullPolicies,omitempty"` // Specifies the allowed priorityClasses assigned to the Tenant. Capsule assures that all Pods resources created in the Tenant can use only one of the allowed PriorityClasses. Optional. PriorityClasses *AllowedListSpec `json:"priorityClasses,omitempty"` + // Configured RBAC for machine owners tailored for GitOps controllers. + GitOpsReady bool `json:"gitOpsReady,omitempty"` } //+kubebuilder:object:root=true