Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GatewayGroupNamespacedResource = []string{"gateways", "httproutes", "tlsroutes", "grpcroutes", "tcproutes", "referencegrants", "backendtlspolicies"} GatewayGroupNamespacedResourceStatus = []string{"gateways/status", "httproutes/status", "tlsroutes/status", "grpcroutes/status", "tcproutes/status", "backendtlspolicies/status"} ContourGroupNamespacedResource = []string{"httpproxies", "tlscertificatedelegations", "extensionservices", "contourconfigurations"} ContourGroupNamespacedResourceStatus = []string{"httpproxies/status", "extensionservices/status", "contourconfigurations/status"} )
Functions ¶
func ClusterScopedResourcePolicyRules ¶
func ClusterScopedResourcePolicyRules() []rbac_v1.PolicyRule
ClusterScopedResourcePolicyRules returns a set of policy rules for cluster-scoped resources.
func NamespacedResourcePolicyRules ¶
func NamespacedResourcePolicyRules(resourcesToSkip []contour_v1.Feature) []rbac_v1.PolicyRule
NamespacedResourcePolicyRules returns a set of policy rules for resources that are namespaced-scoped. If resourcesToSkip is not empty, skip creating RBAC for those CRDs.
func PolicyRuleFor ¶
func PolicyRuleFor(apiGroup string, verbs []string, resources ...string) rbac_v1.PolicyRule
PolicyRuleFor returns PolicyRule object with provided apiGroup, verbs and resources
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.