Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildOptions ¶ added in v0.6.0
func BuildOptions(ctx context.Context, k k8s.Client, stack *lokiv1.LokiStack, fg configv1.FeatureGates) (storage.Options, error)
BuildOptions returns the object storage options to generate Kubernetes resource manifests which require access to object storage buckets. The returned error can be a status.DegradedError in the following cases:
- The user-provided object storage secret is missing.
- The object storage Secret data is invalid.
- The object storage schema config is invalid.
- The object storage CA ConfigMap is missing if one referenced.
- The object storage CA ConfigMap data is invalid.
- The object storage token cco auth secret is missing (Only on OpenShift STS-clusters)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.