Documentation ¶
Index ¶
- Constants
- func DbSyncJob(instance *barbicanv1beta1.Barbican, labels map[string]string, ...) *batchv1.Job
- func GetConfigSecretVolumes(secretNames []string) ([]corev1.Volume, []corev1.VolumeMount)
- func GetLogVolume() []corev1.Volume
- func GetLogVolumeMount() []corev1.VolumeMount
- func GetVolumeMounts(secretNames []string) []corev1.VolumeMount
- func GetVolumes(name string, secretNames []string) []corev1.Volume
Constants ¶
View Source
const ( // ServiceName - ServiceName = "barbican" // ComponentAPI - ComponentAPI = "barbican-api" // ComponentKeystoneListener - ComponentKeystoneListener = "keystone-listener" // ComponentWorker - ComponentWorker = "barbican-worker" // ServiceType - ServiceType = "key-manager" // DatabaseName - Name of the database used in CREATE DATABASE statement DatabaseName = "barbican" // DatabaseCRName - Name of the MariaDBDatabase CR DatabaseCRName = "barbican" // DatabaseUsernamePrefix - used by EnsureMariaDBAccount when a new username // is to be generated, e.g. "barbican_e5a4", "barbican_78bc", etc DatabaseUsernamePrefix = "barbican" // BarbicanPublicPort - BarbicanPublicPort int32 = 9311 // BarbicanInternalPort - BarbicanInternalPort int32 = 9311 // DefaultsConfigFileName - DefaultsConfigFileName = "00-default.conf" // CustomConfigFileName - CustomConfigFileName = "01-custom.conf" // CustomServiceConfigFileName - CustomServiceConfigFileName = "02-service-custom.conf" // CustomServiceConfigSecretsFileName - CustomServiceConfigSecretsFileName = "03-secrets-custom.conf" // BarbicanAPI defines the barbican-api group BarbicanAPI storage.PropagationType = "BarbicanAPI" // BarbicanWorker defines the barbican-worker group BarbicanWorker storage.PropagationType = "BarbicanWorker" // BarbicanKeystoneListener defines the barbican-keystone-listener group BarbicanKeystoneListener storage.PropagationType = "BarbicanKeystoneListener" // Barbican is the global ServiceType that refers to all the components deployed // by the barbican operator Barbican storage.PropagationType = "Barbican" // BarbicanLogPath is the path used by BarbicanAPI to stream/store its logs BarbicanLogPath = "/var/log/barbican/" // LogVolume is the default logVolume name used to mount logs on both // BarbicanAPI and the sidecar container LogVolume = "logs" )
View Source
const (
// DBSyncCommand -
DBSyncCommand = "/usr/local/bin/kolla_set_configs && /usr/local/bin/kolla_start"
)
Variables ¶
This section is empty.
Functions ¶
func DbSyncJob ¶
func DbSyncJob(instance *barbicanv1beta1.Barbican, labels map[string]string, annotations map[string]string) *batchv1.Job
DbSyncJob func
func GetConfigSecretVolumes ¶
func GetConfigSecretVolumes(secretNames []string) ([]corev1.Volume, []corev1.VolumeMount)
GetConfigSecretVolumes - Returns a list of volumes associated with a list of Secret names
func GetLogVolume ¶
GetLogVolume - Returns the Volume used for logging purposes
func GetLogVolumeMount ¶
func GetLogVolumeMount() []corev1.VolumeMount
GetLogVolumeMount - Returns the VolumeMount used for logging purposes
func GetVolumeMounts ¶
func GetVolumeMounts(secretNames []string) []corev1.VolumeMount
GetVolumeMounts - general VolumeMounts
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.