clickhouse

package
v0.0.0-...-a4ecacc Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0, MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterReplicas = int32(3)
	// TODO(joe): this is way too low, we can patch it at runtime.
	// A better solution would be dynamic resizing, eventually.
	DataVolumeSize = "25Gi"
)

Variables

This section is empty.

Functions

func ClickHouseMutator

func ClickHouseMutator(cr *v1alpha1.Cluster, current *clickhousev1alpha1.ClickHouse, user *url.Userinfo) error

func ClickHouseSelector

func ClickHouseSelector(cr *v1alpha1.Cluster) client.ObjectKey

func Credentials

func Credentials(cr *v1alpha1.Cluster) *v1.Secret

func CredentialsMutator

func CredentialsMutator(cr *v1alpha1.Cluster, current *v1.Secret) error

Don't mutate to ensure we don't change the password after it's first created

func CredentialsSelector

func CredentialsSelector(cr *v1alpha1.Cluster) client.ObjectKey

func GetClickHouseName

func GetClickHouseName(cr *v1alpha1.Cluster) string

func GetCredentialsSecretName

func GetCredentialsSecretName() string

GetCredentialsSecretName returns name of secret containing user credentials

func ServiceMonitor

func ServiceMonitor(cr *v1alpha1.Cluster) *monitoring.ServiceMonitor

func ServiceMonitorMutator

func ServiceMonitorMutator(cr *v1alpha1.Cluster, current *monitoring.ServiceMonitor) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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