Documentation
¶
Index ¶
- Constants
- func ClusterInstallationOwnerReference(mattermost *mattermostv1alpha1.ClusterInstallation) []metav1.OwnerReference
- func GenerateDeployment(mattermost *mattermostv1alpha1.ClusterInstallation, dbInfo *database.Info, ...) *appsv1.Deployment
- func GenerateIngress(mattermost *mattermostv1alpha1.ClusterInstallation, name, ingressName string, ...) *v1beta1.Ingress
- func GenerateRole(mattermost *mattermostv1alpha1.ClusterInstallation, roleName string) *rbacv1.Role
- func GenerateRoleBinding(mattermost *mattermostv1alpha1.ClusterInstallation, roleName, saName string) *rbacv1.RoleBinding
- func GenerateSecret(mattermost *mattermostv1alpha1.ClusterInstallation, secretName string, ...) *corev1.Secret
- func GenerateService(mattermost *mattermostv1alpha1.ClusterInstallation, ...) *corev1.Service
- func GenerateServiceAccount(mattermost *mattermostv1alpha1.ClusterInstallation, saName string) *corev1.ServiceAccount
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.
Click to show internal directories.
Click to hide internal directories.