Documentation ¶
Index ¶
- Constants
- func DefaultSuperuserSecretName(clusterName string) string
- func HasReplicatedSecrets(ctx context.Context, c client.Client, kcKey client.ObjectKey, ...) bool
- func ReconcileReplicatedSecret(ctx context.Context, c client.Client, scheme *runtime.Scheme, ...) error
- func ReconcileSecret(ctx context.Context, c client.Client, secretName string, ...) error
Constants ¶
View Source
const (
// OrphanResourceAnnotation when set to true prevents the deletion of secret from target clusters even if matching ReplicatedSecret is removed
OrphanResourceAnnotation = "replicatedresource.k8ssandra.io/orphan"
)
Variables ¶
This section is empty.
Functions ¶
func DefaultSuperuserSecretName ¶
DefaultSuperuserSecretName returns a default name for the superuser secret. It is of the general form <cluster_name>-superuser. Note that we expect clusterName to be a valid DNS subdomain name as defined in RFC 1123, otherwise the secret name won't be valid.
func HasReplicatedSecrets ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.