mirror of
https://github.com/kubevirt/containerized-data-importer.git
synced 2025-06-03 06:30:22 +00:00
28 lines
1.4 KiB
Go
28 lines
1.4 KiB
Go
package utils
|
|
|
|
// cdi-file-host pod/service relative values
|
|
const (
|
|
//RegistryHostName provides a deploymnet and service name for registry
|
|
RegistryHostName = "cdi-docker-registry-host"
|
|
// RegistryHostNs provides a deployment ans service namespace for tests
|
|
RegistryHostNs = "cdi"
|
|
// FileHostName provides a deployment and service name for tests
|
|
FileHostName = "cdi-file-host"
|
|
// FileHostNs provides a deployment ans service namespace for tests
|
|
FileHostNs = "cdi"
|
|
// FileHostS3Bucket provides an S3 bucket name for tests (e.g. http://<serviceIP:port>/FileHostS3Bucket/image)
|
|
FileHostS3Bucket = "images"
|
|
// AccessKeyValue provides a username to use for http and S3 (see hack/build/docker/cdi-func-test-file-host-http/htpasswd)
|
|
AccessKeyValue = "admin"
|
|
// SecretKeyValue provides a password to use for http and S3 (see hack/build/docker/cdi-func-test-file-host-http/htpasswd)
|
|
SecretKeyValue = "password"
|
|
// HttpAuthPort provides a cdi-file-host service auth port for tests
|
|
HTTPAuthPort = 81
|
|
// HttpNoAuthPort provides a cdi-file-host service no-auth port for tests, requires AccessKeyValue and SecretKeyValue
|
|
HTTPNoAuthPort = 80
|
|
// S3Port provides a cdi-file-host service S3 port, requires AccessKey and SecretKeyValue
|
|
S3Port = 9000
|
|
// RegistryConfigMap is the ConfigMap where the cert for the docker registry is stored
|
|
RegistryConfigMap = "cdi-docker-registry-host-certs"
|
|
)
|