kube

package
v0.0.0-...-5c79d48 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfCertsAreAllowedToAccessCluster

func CheckIfCertsAreAllowedToAccessCluster(k *client.Key, rootCluster, teleportCluster, kubeCluster string) error

CheckIfCertsAreAllowedToAccessCluster evaluates if the new cert created by the user to access kubeCluster has at least one kubernetes_user or kubernetes_group defined. If not, it returns an error. This is a safety check in order to print a better message to the user even before hitting Teleport Kubernetes Proxy.

Types

This section is empty.

Jump to

Keyboard shortcuts

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