Documentation ¶
Index ¶
Constants ¶
View Source
const ( // VolumeMountPathClusterAccess is the volume mount path to the cluster access credentials. VolumeMountPathClusterAccess = "/var/run/secrets/blackbox_exporter/cluster-access" // VolumeMountPathGardenerCA is the volume mount path to the gardener CA certificate bundle. VolumeMountPathGardenerCA = "/var/run/secrets/blackbox_exporter/gardener-ca" )
Variables ¶
View Source
var TimeoutWaitForManagedResource = 2 * time.Minute
TimeoutWaitForManagedResource is the timeout used while waiting for the ManagedResources to become healthy or deleted.
Functions ¶
func New ¶
func New( client client.Client, secretsManager secretsmanager.Interface, namespace string, values Values, ) component.DeployWaiter
New creates a new instance of DeployWaiter for blackbox-exporter.
Types ¶
type Values ¶
type Values struct { // Image is the container image used for blackbox-exporter. Image string // ClusterType is the type of the cluster. ClusterType component.ClusterType // IsGardenCluster is specifying whether the component is deployed to the garden cluster. IsGardenCluster bool // VPAEnabled marks whether VerticalPodAutoscaler is enabled for the cluster. VPAEnabled bool // KubernetesVersion is the Kubernetes version of the cluster. KubernetesVersion *semver.Version // Config is blackbox exporter configuration. Config blackboxexporterconfig.Config // ScrapeConfigs is a list of scrape configs for the blackbox exporter. ScrapeConfigs []*monitoringv1alpha1.ScrapeConfig // PrometheusRules is a list of PrometheusRules for the blackbox exporter. PrometheusRules []*monitoringv1.PrometheusRule // PodLabels are additional labels for the pod. PodLabels map[string]string // PriorityClassName is the name of the priority class. PriorityClassName string // Replicas is the number of replicas Replicas int32 }
Values is a set of configuration values for the blackbox-exporter.
Click to show internal directories.
Click to hide internal directories.