Documentation ¶
Index ¶
Constants ¶
View Source
const ( OperatorGeneratedAnno = "ibm-cert-manager-operator-generated" ProperV1Label = "ibm-cert-manager-operator/conditionally-generated-v1" RefreshCALabel = "ibm-cert-manager-operator/refresh-ca-chain" )
Labels and Annotations added by this operator
View Source
const ( // OperatorNameEnvVar is the constant for env variable OPERATOR_NAME // which is the name of the current operator OperatorNameEnvVar = "OPERATOR_NAME" // OperatorNamespaceEnvVar is the constant for env variable OPERATOR_NAMESPACE // which is the namespace of the current operator OperatorNamespaceEnvVar = "OPERATOR_NAMESPACE" // UseExistingCluster is the constant for env variable USE_EXISTING_CLUSTER // it used to control unit test run into existing cluster or kubebuilder UseExistingCluster = "USE_EXISTING_CLUSTER" // Default CS CR MasterCR = "common-service" // CS main namespace MasterNamespace = "ibm-common-services" // CS kind KindCR = "CommonService" // CS api version APIVersion = "operator.ibm.com/v3" // Cluster Operator namespace ClusterOperatorNamespace = "openshift-operators" // CS map configMap CsMapConfigMap = "common-service-maps" // CS Saas configMap SaasConfigMap = "saas-config" // Namespace Scope Operator resource name NsSubResourceName = "nsSubscription" // Namespace Scope Operator sub name NsSubName = "ibm-namespace-scope-operator" // NamespaceScope CRs kind NssKindCR = "NamespaceScope" // NamespaceScope CRs api version NssAPIVersion = "operator.ibm.com/v1" // NamespaceScopeConfigmapName is the name of ConfigMap which stores the NamespaceScope Info NamespaceScopeConfigmapName = "namespace-scope" // NssCRFinalizer is the name for the finalizer to allow for deletion NssCRFinalizer = "finalizer.nss.operator.ibm.com" // Namespace Scope Operator Restricted resource name NsRestrictedSubResourceName = "nsRestrictedSubscription" // Namespace Scope Operator Restricted sub name NsRestrictedSubName = "ibm-namespace-scope-operator-restricted" //DefaultRequeueDuration is the default requeue time duration for request DefaultRequeueDuration = 20 * time.Second //CsMapsLabel is the label used to label the configmaps are managed by cs operator CsManagedLabel = "operator.ibm.com/managedByCsOperator" //CatalogsourceNs is the namespace of the catalogsource CatalogsourceNs = "openshift-marketplace" //CSCatalogsource is the name of the common service catalogsource CSCatalogsource = "opencloud-operators" //IBMCatalogsource is the names of the ibm catalogsource IBMCatalogsource = "ibm-operator-catalog" //Certified is the names of the ibm catalogsource CertifiedCatalogsource = "certified-operators" //Community is the names of the ibm catalogsource CommunityCatalogsource = "community-operators" //RedhatMarketplace is the names of the ibm catalogsource RedhatMarketplaceCatalogsource = "redhat-marketplace" //Redhat is the names of the ibm catalogsource RedhatCatalogsource = "redhat-operators" //IBMCSPackage is the package name of the ibm common service operator IBMCSPackage = "ibm-common-service-operator" //IBMODLMSPackage is the package name of the ODLM operator IBMODLMPackage = "operand-deployment-lifecycle-manager-app" //IBMNSSPackage is the package name of the namespace scope operator IBMNSSPackage = "ibm-namespace-scope-operator" // DevBuildImage is regular expression of the image address of internal dev build for testing DevBuildImage = `^hyc\-cloud\-private\-(.*)\-docker\-local\.artifactory\.swg\-devops\.com\/ibmcom\/ibm\-common\-service\-catalog\:(.*)` // BedrockCatalogsourcePriority is an annotation defined in the catalogsource BedrockCatalogsourcePriority = "bedrock_catalogsource_priority" // CSCACertificate is the name of cs-ca-certificate CSCACertificate = "cs-ca-certificate" // CertManagerSub is the name of ibm-cert-manager-operator subscription CertManagerSub = "ibm-cert-manager-operator" // CsClonedFromLabel is the label used to label the CommonService CR are cloned from the default CR in operatorNamespace CsClonedFromLabel = "operator.ibm.com/common-services.cloned-from" // IBMCPPCONFIG is the name of ibm-cpp-config ConfigMap IBMCPPCONFIG = "ibm-cpp-config" // OpregAPIGroupVersion is the api group version of OperandRegistry OpregAPIGroupVersion = "operator.ibm.com/v1alpha1" // OpregKind is the kind of OperandRegistry OpregKind = "OperandRegistry" // OpconKind is the kind of OperandConfig OpconKind = "OperandConfig" // DefaultHugePageAllocation is the default huge page allocation DefaultHugePageAllocation = "100Mi" )
View Source
const ( ExcludedCatalog = "certified-operators,community-operators,redhat-marketplace,ibm-cp-automation-foundation-catalog,operatorhubio-catalog" StatusMonitoredServices = "ibm-idp-config-ui-operator,ibm-mongodb-operator,ibm-im-operator" )
View Source
const ( MongoDBOpReg = `` /* 886-byte string literal not displayed */ IMOpReg = `` /* 1777-byte string literal not displayed */ IdpConfigUIOpReg = `` /* 1543-byte string literal not displayed */ PlatformUIOpReg = `` /* 1471-byte string literal not displayed */ )
View Source
const ( MongoDBOpCon = `` /* 521-byte string literal not displayed */ IMOpCon = `` /* 2809-byte string literal not displayed */ IdpConfigUIOpCon = `` /* 989-byte string literal not displayed */ PlatformUIOpCon = `` /* 695-byte string literal not displayed */ )
View Source
const ( CSV3OpReg = `` /* 3174-byte string literal not displayed */ CSV4OpReg = `` /* 2837-byte string literal not displayed */ )
View Source
const APICatalogTemplate = `` /* 150-byte string literal not displayed */
View Source
const CSCACert = `` /* 653-byte string literal not displayed */
CSCACert is the CR of cs-ca-certificate
View Source
const CSCAIssuer = `` /* 353-byte string literal not displayed */
CSCAIssuer is the CR of cs-ca-issuer
View Source
const CSSSIssuer = `` /* 323-byte string literal not displayed */
CSSSIsuuer is the CR of cs-ss-issuer
View Source
const (
CSV3SaasOpReg = `` /* 1856-byte string literal not displayed */
)
View Source
const CSV4OpCon = `` /* 7320-byte string literal not displayed */
View Source
const CommonServiceMaps = `` /* 272-byte string literal not displayed */
CommonServiceMaps is the default common service maps ConfigMap
View Source
const (
CommonServicePGOpCon = `` /* 10094-byte string literal not displayed */
)
View Source
const (
CommonServicePGOpReg = `` /* 612-byte string literal not displayed */
)
View Source
const CsCR = `` /* 350-byte string literal not displayed */
CsCR is the default common service operator CR
View Source
const CsNoSizeCR = `` /* 166-byte string literal not displayed */
CsNoSizeCR is the default common service operator CR for upgrade
View Source
const CsOperatorGroup = `` /* 176-byte string literal not displayed */
CsOg is OperatorGroup constent for the common service operator
View Source
const DefaultAdminUserTemplate = `` /* 214-byte string literal not displayed */
View Source
const EDBImageConfigMap = `` /* 1088-byte string literal not displayed */
View Source
const FipsEnabledTemplate = `` /* 1123-byte string literal not displayed */
View Source
const GeneralTroubleshooting = `https://ibm.biz/cpfs_general_troubleshooting`
View Source
const HugePagesTemplate = `` /* 706-byte string literal not displayed */
View Source
const (
KeyCloakOpCon = `` /* 20015-byte string literal not displayed */
)
View Source
const (
KeyCloakOpReg = `` /* 780-byte string literal not displayed */
)
View Source
const KeycloakCertTemplate = `` /* 454-byte string literal not displayed */
View Source
const KeycloakThemesConfigMap = `` /* 307-byte string literal not displayed */
View Source
const KeycloakThemesJar = `/hack/keycloak-themes/cloudpak-theme.jar`
View Source
const NSRestrictedSubscription = `` /* 351-byte string literal not displayed */
View Source
const NSSubscription = `` /* 329-byte string literal not displayed */
View Source
const NamespaceScopeConfigMap = `` /* 140-byte string literal not displayed */
NamespaceScopeConfigMap is the init configmap
View Source
const ODLMSubscription = `` /* 311-byte string literal not displayed */
View Source
const PostGresOperatorConfig = `` /* 4171-byte string literal not displayed */
View Source
const RouteHostTemplate = `
- name: ibm-management-ingress-operator
spec:
managementIngress:
routeHost: placeholder
`
View Source
const SecretWatchLabel string = "operator.ibm.com/watched-by-cert-manager"
SecretWatchLabel is a string of secrets that watched by cert manager operator labels
View Source
const ServiceLabelTemplate = `` /* 1957-byte string literal not displayed */
still need flink and elastic
View Source
const StorageClassTemplate = `` /* 1061-byte string literal not displayed */
Variables ¶
View Source
var ( CertManagerAPIGroupVersionV1Alpha1 = "certmanager.k8s.io/v1alpha1" CertManagerAPIGroupVersionV1 = "cert-manager.io/v1" CertManagerKinds = []string{"Issuer", "Certificate"} CertManagerIssuers = []string{CSSSIssuer, CSCAIssuer} CertManagerCerts = []string{CSCACert} KeycloakCert = "cs-keycloak-tls-cert" )
View Source
var ( CSV4OperandRegistry string CSV4SaasOperandRegistry string CSV4OperandConfig string CSV4SaasOperandConfig string )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.