Documentation
¶
Index ¶
- Constants
- func BootstrapJob(instance *keystonev1beta1.KeystoneAPI, labels map[string]string, ...) *batchv1.Job
- func CronJob(instance *keystonev1beta1.KeystoneAPI, labels map[string]string, ...) *batchv1.CronJob
- func DbSyncJob(instance *keystonev1.KeystoneAPI, labels map[string]string, ...) *batchv1.Job
- func Deployment(instance *keystonev1beta1.KeystoneAPI, configHash string, ...) *appsv1.Deployment
- func GenerateFernetKey() string
- type APIDetails
- type OpenStackConfig
- type OpenStackConfigSecret
Constants ¶
View Source
const ( // ServiceName - ServiceName = "keystone" // DatabaseName - DatabaseName = "keystone" // KeystonePublicPort - KeystonePublicPort int32 = 5000 // KeystoneInternalPort - KeystoneInternalPort int32 = 5000 // KollaConfig - KollaConfig = "/var/lib/config-data/merged/keystone-api-config.json" )
View Source
const (
// BootstrapCommand -
BootstrapCommand = "/usr/local/bin/kolla_set_configs && keystone-manage bootstrap"
)
View Source
const (
// DBSyncCommand -
DBSyncCommand = "/usr/local/bin/kolla_set_configs && /usr/local/bin/kolla_start"
)
View Source
const (
// InitContainerCommand -
InitContainerCommand = "/usr/local/bin/container-scripts/init.sh"
)
View Source
const (
// ServiceCommand -
ServiceCommand = "/usr/local/bin/kolla_set_configs && /usr/local/bin/kolla_start"
)
View Source
const (
// TrustFlushCommand -
TrustFlushCommand = "/usr/local/bin/kolla_set_configs && keystone-manage trust_flush"
)
Variables ¶
This section is empty.
Functions ¶
func BootstrapJob ¶
func BootstrapJob( instance *keystonev1beta1.KeystoneAPI, labels map[string]string, annotations map[string]string, endpoints map[string]string, ) *batchv1.Job
BootstrapJob func
func CronJob ¶
func CronJob( instance *keystonev1beta1.KeystoneAPI, labels map[string]string, annotations map[string]string, ) *batchv1.CronJob
CronJob func
func DbSyncJob ¶
func DbSyncJob( instance *keystonev1.KeystoneAPI, labels map[string]string, annotations map[string]string, ) *batchv1.Job
DbSyncJob func
func Deployment ¶
func Deployment( instance *keystonev1beta1.KeystoneAPI, configHash string, labels map[string]string, annotations map[string]string, ) *appsv1.Deployment
Deployment func
Types ¶
type APIDetails ¶
type APIDetails struct { ContainerImage string DatabaseHost string DatabaseUser string DatabaseName string OSPSecret string DBPasswordSelector string UserPasswordSelector string VolumeMounts []corev1.VolumeMount }
APIDetails information
type OpenStackConfig ¶
type OpenStackConfig struct { Clouds struct { Default struct { Auth struct { AuthURL string `yaml:"auth_url"` ProjectName string `yaml:"project_name"` UserName string `yaml:"username"` UserDomainName string `yaml:"user_domain_name"` ProjectDomainName string `yaml:"project_domain_name"` } `yaml:"auth"` RegionName string `yaml:"region_name"` } `yaml:"default"` } }
OpenStackConfig type
type OpenStackConfigSecret ¶
type OpenStackConfigSecret struct { Clouds struct { Default struct { Auth struct { Password string `yaml:"password"` } } } }
OpenStackConfigSecret type
Click to show internal directories.
Click to hide internal directories.