rbac

package
v0.1.87 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RbacCapabilityMap = map[string]hyperv1.OptionalCapability{
	"system:openshift:openshift-controller-manager:ingress-to-route-controller/ClusterRole":        hyperv1.IngressCapability,
	"openshift-route-controller-manager/openshift-route-controllers/Role":                          hyperv1.IngressCapability,
	"system:openshift:openshift-controller-manager:ingress-to-route-controller/ClusterRoleBinding": hyperv1.IngressCapability,
	"openshift-route-controller-manager/openshift-route-controllers/RoleBinding":                   hyperv1.IngressCapability,
}

Functions

func Reconcile added in v0.1.87

func Reconcile(ctx context.Context, c client.Client, createOrUpdate upsert.CreateOrUpdateFN, params ReconcileParams) error

Reconcile applies all applicable HCCO RBAC resources in their established order. A failure for one resource does not prevent later resources from being attempted.

func ReconcileAuthenticatedReaderForAuthenticatedUserRolebinding

func ReconcileAuthenticatedReaderForAuthenticatedUserRolebinding(r *rbacv1.RoleBinding) error

func ReconcileAzureDiskCSIDriverNodeServiceAccountClusterRole added in v0.1.54

func ReconcileAzureDiskCSIDriverNodeServiceAccountClusterRole(r *rbacv1.ClusterRole) error

func ReconcileAzureDiskCSIDriverNodeServiceAccountClusterRoleBinding added in v0.1.54

func ReconcileAzureDiskCSIDriverNodeServiceAccountClusterRoleBinding(r *rbacv1.ClusterRoleBinding) error

func ReconcileAzureFileCSIDriverNodeServiceAccountClusterRole added in v0.1.54

func ReconcileAzureFileCSIDriverNodeServiceAccountClusterRole(r *rbacv1.ClusterRole) error

func ReconcileAzureFileCSIDriverNodeServiceAccountClusterRoleBinding added in v0.1.54

func ReconcileAzureFileCSIDriverNodeServiceAccountClusterRoleBinding(r *rbacv1.ClusterRoleBinding) error

func ReconcileCSRApproverClusterRole

func ReconcileCSRApproverClusterRole(r *rbacv1.ClusterRole) error

func ReconcileCSRApproverClusterRoleBinding

func ReconcileCSRApproverClusterRoleBinding(r *rbacv1.ClusterRoleBinding) error

func ReconcileCSRRenewalClusterRoleBinding

func ReconcileCSRRenewalClusterRoleBinding(r *rbacv1.ClusterRoleBinding) error

func ReconcileCloudNetworkConfigControllerServiceAccountClusterRole added in v0.1.58

func ReconcileCloudNetworkConfigControllerServiceAccountClusterRole(r *rbacv1.ClusterRole) error

func ReconcileCloudNetworkConfigControllerServiceAccountClusterRoleBinding added in v0.1.58

func ReconcileCloudNetworkConfigControllerServiceAccountClusterRoleBinding(r *rbacv1.ClusterRoleBinding) error

func ReconcileDeployerClusterRole

func ReconcileDeployerClusterRole(r *rbacv1.ClusterRole) error

func ReconcileDeployerClusterRoleBinding

func ReconcileDeployerClusterRoleBinding(r *rbacv1.ClusterRoleBinding) error

func ReconcileGenericMetricsClusterRoleBinding

func ReconcileGenericMetricsClusterRoleBinding(cn string) func(*rbacv1.ClusterRoleBinding) error

func ReconcileImageTriggerControllerClusterRole

func ReconcileImageTriggerControllerClusterRole(r *rbacv1.ClusterRole) error

func ReconcileImageTriggerControllerClusterRoleBinding

func ReconcileImageTriggerControllerClusterRoleBinding(r *rbacv1.ClusterRoleBinding) error

func ReconcileIngressToRouteControllerClusterRole

func ReconcileIngressToRouteControllerClusterRole(r *rbacv1.ClusterRole) error

func ReconcileIngressToRouteControllerClusterRoleBinding

func ReconcileIngressToRouteControllerClusterRoleBinding(r *rbacv1.ClusterRoleBinding) error

func ReconcileIngressToRouteControllerRoleBinding

func ReconcileIngressToRouteControllerRoleBinding(r *rbacv1.RoleBinding) error

func ReconcileKASConnectionCheckerRole added in v0.1.75

func ReconcileKASConnectionCheckerRole(r *rbacv1.Role) error

func ReconcileKASConnectionCheckerRoleBinding added in v0.1.75

func ReconcileKASConnectionCheckerRoleBinding(r *rbacv1.RoleBinding) error

func ReconcileKCMLeaderElectionRole

func ReconcileKCMLeaderElectionRole(r *rbacv1.Role) error

func ReconcileKCMLeaderElectionRoleBinding

func ReconcileKCMLeaderElectionRoleBinding(r *rbacv1.RoleBinding) error

func ReconcileMetricsResourcesClusterRole added in v0.1.78

func ReconcileMetricsResourcesClusterRole(r *rbacv1.ClusterRole) error

func ReconcileMetricsResourcesClusterRoleBinding added in v0.1.78

func ReconcileMetricsResourcesClusterRoleBinding(r *rbacv1.ClusterRoleBinding) error

func ReconcileNamespaceSecurityAllocationControllerClusterRole

func ReconcileNamespaceSecurityAllocationControllerClusterRole(r *rbacv1.ClusterRole) error

func ReconcileNamespaceSecurityAllocationControllerClusterRoleBinding

func ReconcileNamespaceSecurityAllocationControllerClusterRoleBinding(r *rbacv1.ClusterRoleBinding) error

func ReconcileNodeBootstrapperClusterRoleBinding

func ReconcileNodeBootstrapperClusterRoleBinding(r *rbacv1.ClusterRoleBinding) error

func ReconcilePodSecurityAdmissionLabelSyncerControllerClusterRole

func ReconcilePodSecurityAdmissionLabelSyncerControllerClusterRole(r *rbacv1.ClusterRole) error

func ReconcilePodSecurityAdmissionLabelSyncerControllerRoleBinding

func ReconcilePodSecurityAdmissionLabelSyncerControllerRoleBinding(r *rbacv1.ClusterRoleBinding) error

func ReconcilePriviligedNamespacesPSALabelSyncerClusterRole added in v0.1.14

func ReconcilePriviligedNamespacesPSALabelSyncerClusterRole(r *rbacv1.ClusterRole) error

func ReconcilePriviligedNamespacesPSALabelSyncerClusterRoleBinding added in v0.1.14

func ReconcilePriviligedNamespacesPSALabelSyncerClusterRoleBinding(r *rbacv1.ClusterRoleBinding) error

func ReconcileReconcileIngressToRouteControllerRole

func ReconcileReconcileIngressToRouteControllerRole(r *rbacv1.Role) error

func ReconcileUserOAuthClusterRole added in v0.1.10

func ReconcileUserOAuthClusterRole(r *rbacv1.ClusterRole) error

func ReconcileUserOAuthClusterRoleBinding added in v0.1.10

func ReconcileUserOAuthClusterRoleBinding(r *rbacv1.ClusterRoleBinding) error

Types

type ReconcileParams added in v0.1.87

type ReconcileParams struct {
	IngressEnabled bool
	IsAROHCP       bool
}

ReconcileParams contains the policy facts needed to select the RBAC resources for a hosted cluster. The RBAC package intentionally does not depend on the HostedControlPlane object or the capability/platform detection helpers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL