objects

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ContourRbacName is the name used for Contour RBAC resources.
	ContourRbacName = "contour"
	// EnvoyRbacName is the name used for Envoy RBAC resources.
	EnvoyRbacName = "envoy"
	// CertGenRbacName is the name used for Contour certificate
	// generation RBAC resources.
	CertGenRbacName = "contour-certgen"
)

Variables

This section is empty.

Functions

func EnsureRBAC

func EnsureRBAC(ctx context.Context, cli client.Client, contour *operatorv1alpha1.Contour) error

EnsureRBAC ensures all the necessary RBAC resources exist for the provided contour.

func EnsureRBACDeleted

func EnsureRBACDeleted(ctx context.Context, cli client.Client, contour *operatorv1alpha1.Contour) error

EnsureRBACDeleted ensures all the necessary RBAC resources for the provided contour are deleted if Contour owner labels exist.

func NewUnprivilegedPodSecurity

func NewUnprivilegedPodSecurity() *corev1.PodSecurityContext

NewUnprivilegedPodSecurity makes a a non-root PodSecurityContext object using 65534 as the user and group ID.

func TagFromImage

func TagFromImage(image string) string

TagFromImage returns the tag from the provided image or an empty string if the image does not contain a tag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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