Documentation
¶
Index ¶
- Constants
- func AddLoggingCredentials(cluster *capi.Cluster, loggingCredentials *v1.Secret) (bool, error)
- func GenerateLoggingCredentialsBasicSecret(cluster *capi.Cluster) *v1.Secret
- func GetPassword(cluster *capi.Cluster, credentialsSecret *v1.Secret, username string) (string, error)
- func LoggingCredentialsSecretMeta() metav1.ObjectMeta
- func RemoveLoggingCredentials(cluster *capi.Cluster, loggingCredentials *v1.Secret) bool
- type Resource
Constants ¶
View Source
const ( //#nosec G101 LoggingCredentialsName = "logging-credentials" LoggingCredentialsNamespace = "monitoring" )
Variables ¶
This section is empty.
Functions ¶
func AddLoggingCredentials ¶ added in v0.1.0
AddLoggingCredentials - Add credentials to LoggingCredentials secret if needed
func GenerateLoggingCredentialsBasicSecret ¶
GenerateObservabilityBundleConfigMap returns a configmap for the observabilitybundle application to enable logging.
func GetPassword ¶ added in v0.1.0
func LoggingCredentialsSecretMeta ¶
func LoggingCredentialsSecretMeta() metav1.ObjectMeta
LoggingCredentialsSecretMeta returns metadata for the logging-operator credentials secret.
Types ¶
type Resource ¶ added in v0.30.0
Resource implements a resource.Interface to handle Logging Credentials: store and maintain logging credentials
Click to show internal directories.
Click to hide internal directories.