statefulsets

package
v0.3.23 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: AGPL-3.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainerMatchLabels

func ContainerMatchLabels(t *miniov1.Tenant, zone *miniov1.Zone) *metav1.LabelSelector

ContainerMatchLabels Returns the labels that match the Pods in the statefulset

func GetContainerArgs

func GetContainerArgs(t *miniov1.Tenant, hostsTemplate string) []string

GetContainerArgs returns the arguments that the MinIO container receives

func KESEnvironmentVars

func KESEnvironmentVars(t *miniov1.Tenant) []corev1.EnvVar

KESEnvironmentVars returns the KES environment variables set in configuration.

func KESMetadata

func KESMetadata(t *miniov1.Tenant) metav1.ObjectMeta

KESMetadata Returns the KES pods metadata set in configuration. If a user specifies metadata in the spec we return that metadata.

func KESSelector

func KESSelector(t *miniov1.Tenant) *metav1.LabelSelector

KESSelector Returns the KES pods selector set in configuration.

func KESServerContainer

func KESServerContainer(t *miniov1.Tenant) corev1.Container

KESServerContainer returns the KES container for a KES StatefulSet.

func KESVolumeMounts

func KESVolumeMounts(t *miniov1.Tenant) []corev1.VolumeMount

KESVolumeMounts builds the volume mounts for MinIO container.

func NewForKES

func NewForKES(t *miniov1.Tenant, serviceName string) *appsv1.StatefulSet

NewForKES creates a new KES StatefulSet for the given Cluster.

func NewForMinIOZone

func NewForMinIOZone(t *miniov1.Tenant, wsSecret *v1.Secret, zone *miniov1.Zone, serviceName string, hostsTemplate, operatorVersion string) *appsv1.StatefulSet

NewForMinIOZone creates a new StatefulSet for the given Cluster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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