1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-20 13:59:40 +02:00
portainer/pkg/libhelm/options/cluster_access.go

12 lines
565 B
Go
Raw Normal View History

package options
// KubernetesClusterAccess represents core details which can be used to generate KubeConfig file/data
type KubernetesClusterAccess struct {
ClusterName string `example:"portainer-cluster-endpoint-1"`
ContextName string `example:"portainer-ctx-endpoint-1"`
UserName string `example:"portainer-user-endpoint-1"`
ClusterServerURL string `example:"https://mycompany.k8s.com"`
CertificateAuthorityFile string `example:"/data/tls/localhost.crt"`
AuthToken string `example:"ey..."`
}