Documentation ¶
Index ¶
- Constants
- func CSRApproverClusterRole(hc *hypershiftv1beta1.HostedCluster) *rbacv1.ClusterRole
- func CSRSignerClusterRole(hc *hypershiftv1beta1.HostedCluster) *rbacv1.ClusterRole
- func ClusterRoleBinding(hc *hypershiftv1beta1.HostedCluster, clusterRole *rbacv1.ClusterRole) *rbacv1.ClusterRoleBinding
- func ReconcileCSRApproverClusterRole(clusterRole *rbacv1.ClusterRole, hc *hypershiftv1beta1.HostedCluster, ...) error
- func ReconcileCSRSignerClusterRole(clusterRole *rbacv1.ClusterRole, hc *hypershiftv1beta1.HostedCluster, ...) error
- func ReconcileClusterRoleBinding(clusterRoleBinding *rbacv1.ClusterRoleBinding, clusterRole *rbacv1.ClusterRole, ...) error
Constants ¶
View Source
const ( OwningHostedClusterNamespaceLabel = "hypershift.openshift.io/owner.namespace" OwningHostedClusterNameLabel = "hypershift.openshift.io/owner.name" )
we require labelling these cluster-scoped resources so that the controller cleaning them up can find them efficiently, as we can't use namespace-based scoping for these objects
Variables ¶
This section is empty.
Functions ¶
func CSRApproverClusterRole ¶
func CSRApproverClusterRole(hc *hypershiftv1beta1.HostedCluster) *rbacv1.ClusterRole
func CSRSignerClusterRole ¶
func CSRSignerClusterRole(hc *hypershiftv1beta1.HostedCluster) *rbacv1.ClusterRole
func ClusterRoleBinding ¶
func ClusterRoleBinding(hc *hypershiftv1beta1.HostedCluster, clusterRole *rbacv1.ClusterRole) *rbacv1.ClusterRoleBinding
func ReconcileCSRApproverClusterRole ¶
func ReconcileCSRApproverClusterRole(clusterRole *rbacv1.ClusterRole, hc *hypershiftv1beta1.HostedCluster, signers ...certificates.SignerClass) error
func ReconcileCSRSignerClusterRole ¶
func ReconcileCSRSignerClusterRole(clusterRole *rbacv1.ClusterRole, hc *hypershiftv1beta1.HostedCluster, signers ...certificates.SignerClass) error
func ReconcileClusterRoleBinding ¶
func ReconcileClusterRoleBinding(clusterRoleBinding *rbacv1.ClusterRoleBinding, clusterRole *rbacv1.ClusterRole, serviceAccount *corev1.ServiceAccount) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.