Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Label to enable knative-eventing in a namespace. InjectionLabelKey = "clusterhelper-injection" InjectionEnabledLabelValue = "enabled" InjectionDisabledLabelValue = "disabled" InjectedResourceLabel = "clusterhelper.vaikas.dev/namespaceInjected" )
Variables ¶
This section is empty.
Functions ¶
func InjectionDisabledLabels ¶
func InjectionEnabledLabels ¶
func MakeRoleBinding ¶
func MakeRoleBinding(ctx context.Context, name, ns, clusterRole string) *rbacv1.RoleBinding
MakeRoleBinding creates a RoleBinding object and attaches it to service account 'default' in the Namespace 'ns', using ClusterRole clusterRole. This is helpful in cases where you want to propagate for example a PodSecurityPolicy to default users.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.