lokiingressauthsecret

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// DefaultReadOrgIDs - make sure to have at least 2 tenants, to prevent writing with this user
	DefaultReadOrgIDs = "giantswarm|default"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	client.Client
}

Reconciler implements a reconciler.Interface to handle loki ingress auth secret: a secret for the loki ingress that adds support for basic auth for the write path

func (*Reconciler) ReconcileCreate

func (r *Reconciler) ReconcileCreate(ctx context.Context, lc loggedcluster.Interface) (ctrl.Result, error)

ReconcileCreate ensures loki ingress auth map is created with the right credentials on CAPI

func (*Reconciler) ReconcileDelete

func (r *Reconciler) ReconcileDelete(ctx context.Context, lc loggedcluster.Interface) (ctrl.Result, error)

ReconcileDelete - Delete the loki ingress auth secret on capi

Jump to

Keyboard shortcuts

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