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.
Click to show internal directories.
Click to hide internal directories.