resources

package
v0.0.0-...-6985af6 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

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 InjectionDisabledLabels() map[string]string

func InjectionEnabledLabels

func InjectionEnabledLabels() map[string]string

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.

Jump to

Keyboard shortcuts

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