authz

package
v0.0.0-...-40be03b Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TlsStorePassword = "changeit"

	TlsStoreDir  = path.Join(constants.KubedoopRoot, "tls")
	TrustoreFile = path.Join(TlsStoreDir, "truststore.p12")
	KeystoreFile = path.Join(TlsStoreDir, "keystore.p12")
	TrustoreType = "pkcs12"
	KeystoreType = "pkcs12"

	ConfigDir = path.Join(constants.KubedoopRoot, "conf")

	AuthenticationType = "kerberos"
	KerberosDir        = path.Join(constants.KubedoopRoot, "kerberos")
	Krb5ConfigFile     = path.Join(KerberosDir, "krb5.conf")
	KetytabFile        = path.Join(KerberosDir, "keytab")
)
View Source
var (
	OidcContainerPort = corev1.ContainerPort{
		Name:          "oidc",
		ContainerPort: 4180,
		Protocol:      corev1.ProtocolTCP,
	}
)

Functions

This section is empty.

Types

type HbaseKerberosConfig

type HbaseKerberosConfig struct {
	Namespace   string
	ClusterName string

	KerberosSecretClass string
	TlsSecretClass      string
}

func NewHbaseKerberosConfig

func NewHbaseKerberosConfig(
	namespace string,
	clustername string,
	rolename string,
	rolegroupname string,
	kerberosSecretClass string,
	tlsSecretClass string,
) *HbaseKerberosConfig

func (*HbaseKerberosConfig) GetContainerCommands

func (c *HbaseKerberosConfig) GetContainerCommands() string

func (*HbaseKerberosConfig) GetContainerEnvvars

func (c *HbaseKerberosConfig) GetContainerEnvvars() []corev1.EnvVar

func (*HbaseKerberosConfig) GetDiscoveryConfig

func (c *HbaseKerberosConfig) GetDiscoveryConfig() map[string]string

func (*HbaseKerberosConfig) GetHbaseSite

func (c *HbaseKerberosConfig) GetHbaseSite() map[string]string

func (*HbaseKerberosConfig) GetJVMOPTS

func (c *HbaseKerberosConfig) GetJVMOPTS() map[string]string

func (*HbaseKerberosConfig) GetSSLClientSettings

func (c *HbaseKerberosConfig) GetSSLClientSettings() map[string]string

func (*HbaseKerberosConfig) GetSSLServerSttings

func (c *HbaseKerberosConfig) GetSSLServerSttings() map[string]string

func (*HbaseKerberosConfig) GetVolumeMounts

func (c *HbaseKerberosConfig) GetVolumeMounts() []corev1.VolumeMount

func (*HbaseKerberosConfig) GetVolumes

func (c *HbaseKerberosConfig) GetVolumes() []corev1.Volume

type Oidc

type Oidc struct {
	Image        *util.Image
	ClusterUid   string
	UpstreamPort int32
	Oidc         *hbasev1alph1.OidcSpec
	OidcProvider *authv1alpha1.OIDCProvider
}

func NewOidc

func NewOidc(
	clusterUid string,
	image *util.Image,
	upstreamPort int32,
	oidc *hbasev1alph1.OidcSpec,
	OidcProvider *authv1alpha1.OIDCProvider,
) *Oidc

func (*Oidc) GetContainer

func (o *Oidc) GetContainer() *corev1.Container

Jump to

Keyboard shortcuts

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