Documentation ¶
Index ¶
Constants ¶
const ( // ContainerImageOrg is the org of the default image url ContainerImageOrg = "noobaa" // ContainerImageRepo is the repo of the default image url ContainerImageRepo = "noobaa-core" // ContainerImageTag is the tag of the default image url ContainerImageTag = "5.10.0-20220120" // ContainerImageSemverLowerBound is the lower bound for supported image versions ContainerImageSemverLowerBound = "5.0.0" // ContainerImageSemverUpperBound is the upper bound for supported image versions ContainerImageSemverUpperBound = "6.0.0" // ContainerImageName is the default image name without the tag/version ContainerImageName = ContainerImageOrg + "/" + ContainerImageRepo // ContainerImage is the full default image url ContainerImage = ContainerImageName + ":" + ContainerImageTag // AdminAccountEmail is the default email used by the admin account AdminAccountEmail = "admin@noobaa.io" // OperatorAccountEmail is the default email used by the operator account OperatorAccountEmail = "operator@noobaa.io" // SystemName is a constant as we want just a single system per namespace SystemName = "noobaa" // ServiceServingCertCAFile points to OCP root CA to be added to the default root CA list ServiceServingCertCAFile = "/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt" )
Variables ¶
var AdmissionWebhook = false
AdmissionWebhook is used for deploying the system with admission validation webhook
var DBImage = "centos/mongodb-36-centos7"
DBImage is the default db image url it can be overridden for testing or different registry locations.
var DBMongoImage = "centos/mongodb-36-centos7"
DBMongoImage is the default mongo db image url this is used during migration to solve issues where mongo STS referencing to postgres image
var DBPostgresImage = "centos/postgresql-12-centos7"
DBPostgresImage is the default postgres db image url currently it can not be overridden.
var DBStorageClass = ""
DBStorageClass is used for PVC's allocation for the noobaa server data it can be overridden for testing or different PV providers.
var DBType = "postgres"
DBType is the default db image type it can be overridden for testing or different types.
var DBVolumeSizeGB = 0
DBVolumeSizeGB can be used to override the default database volume size
var DebugLevel = "default_level"
DebugLevel can be used to override the default debug level
var DisableLoadBalancerService = false
DisableLoadBalancerService is used for setting the service type to ClusterIP instead of LoadBalancer
var FlagSet = pflag.NewFlagSet("noobaa", pflag.ContinueOnError)
FlagSet defines the
var ImagePullSecret = ""
ImagePullSecret is optionally used to authenticate when pulling the container images which is needed when using a private container registry.
var MiniEnv = false
MiniEnv setting this option indicates to the operator that it is deployed on low resource environment This info is used by the operator for environment based decisions (e.g. number of resources to request per pod)
var MongoDbURL = ""
MongoDbURL is used for providing mongodb url it can be overridden for testing or different url.
var Namespace = "noobaa"
Namespace is the target namespace for locating the noobaa system default is "noobaa" but in shared clusters (mainly for developers?) this can be very confusing and cause unintentional overrides so we may consider to use current namespace.
var NooBaaImage = ContainerImage
NooBaaImage is the container image url built from https://github.com/noobaa/noobaa-core it can be overridden for testing or different registry locations.
var OperatorImage = "noobaa/noobaa-operator:" + version.Version
OperatorImage is the container image url built from https://github.com/noobaa/noobaa-operator it can be overridden for testing or different registry locations.
var PVPoolDefaultStorageClass = ""
PVPoolDefaultStorageClass is used for PVC's allocation for the noobaa server data it can be overridden for testing or different PV providers.
Functions ¶
func ObjectBucketProvisionerName ¶
func ObjectBucketProvisionerName() string
ObjectBucketProvisionerName returns the provisioner name to be used in storage classes for OB/OBC
func SubDomainNS ¶
func SubDomainNS() string
SubDomainNS returns a unique subdomain for the namespace
Types ¶
This section is empty.