mattermost

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SetupJobName                = "mattermost-db-setup"
	WaitForDBSetupContainerName = "init-wait-for-db-setup"
)

Variables

This section is empty.

Functions

func ClusterInstallationOwnerReference added in v1.11.0

func ClusterInstallationOwnerReference(mattermost *mattermostv1alpha1.ClusterInstallation) []metav1.OwnerReference

func GenerateDeployment

func GenerateDeployment(mattermost *mattermostv1alpha1.ClusterInstallation, dbInfo *database.Info, deploymentName, ingressName, serviceAccountName, containerImage string, minioURL string) *appsv1.Deployment

GenerateDeployment returns the deployment for Mattermost app.

func GenerateIngress

func GenerateIngress(mattermost *mattermostv1alpha1.ClusterInstallation, name, ingressName string, ingressAnnotations map[string]string) *v1beta1.Ingress

GenerateIngress returns the ingress for the Mattermost app.

func GenerateRole added in v1.11.0

func GenerateRole(mattermost *mattermostv1alpha1.ClusterInstallation, roleName string) *rbacv1.Role

GenerateRole returns the Role for Mattermost

func GenerateRoleBinding added in v1.11.0

func GenerateRoleBinding(mattermost *mattermostv1alpha1.ClusterInstallation, roleName, saName string) *rbacv1.RoleBinding

GenerateRoleBinding returns the RoleBinding for Mattermost

func GenerateSecret

func GenerateSecret(mattermost *mattermostv1alpha1.ClusterInstallation, secretName string, labels map[string]string, values map[string][]byte) *corev1.Secret

GenerateSecret returns the secret for Mattermost

func GenerateService

func GenerateService(mattermost *mattermostv1alpha1.ClusterInstallation, serviceName, selectorName string) *corev1.Service

GenerateService returns the service for the Mattermost app.

func GenerateServiceAccount added in v1.11.0

func GenerateServiceAccount(mattermost *mattermostv1alpha1.ClusterInstallation, saName string) *corev1.ServiceAccount

GenerateServiceAccount returns the Service Account for Mattermost

Types

This section is empty.

Jump to

Keyboard shortcuts

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