logging

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ShootNodeLoggingManagedResourceName is the name of managed resources associated with Loki's kube-rbac-proxy and Promtail's RBAC.
	ShootNodeLoggingManagedResourceName = "shoot-node-logging"
	// LokiKubeRBACProxyName  is the name of the kube-rbac-proxy image.
	LokiKubeRBACProxyName = "kube-rbac-proxy"
	// SecretNameLokiKubeRBACProxyKubeconfig is the name of the Loki's kube-rbac-proxy kubeconfig secret.
	SecretNameLokiKubeRBACProxyKubeconfig = LokiKubeRBACProxyName + "-kubeconfig"
	// KubeRBACProxyUserName is the name of the user used by Kube-RBAC-Proxy to make delegating authorization decisions.
	KubeRBACProxyUserName = "gardener.cloud:logging:kube-rbac-proxy"
	// PromtailRBACName is the name of the user used by promtail to auth gains Kube-RBAC-Proxy
	PromtailRBACName = "gardener.cloud:logging:promtail"
	// PromtailName is the name used for labeling the Kubernetes resources associated with Promtail installed on the shoot nodes.
	PromtailName = "gardener-promtail"
)

Variables

This section is empty.

Functions

func NewKubeRBACProxy

func NewKubeRBACProxy(so *KubeRBACProxyOptions) (component.Deployer, error)

NewKubeRBACProxy creates a new instance of kubeRBACProxy for the kube-rbac-proxy.

Types

type KubeRBACProxyOptions

type KubeRBACProxyOptions struct {
	// Client to create resources with.
	Client client.Client
	// Namespace in the seed cluster.
	Namespace string
	// IsShootNodeLoggingEnabled flag enables or disables the shoot node logging
	IsShootNodeLoggingEnabled bool
}

KubeRBACProxyOptions are the options for the kube-rbac-proxy.

Jump to

Keyboard shortcuts

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