Documentation ¶
Index ¶
Constants ¶
const ( Istio = "istio" ExternalDNS = "external-dns" IngressController = "ingress-controller" IngressDefaultBackend = "ingress-controller-ingress-nginx-defaultbackend" MySQL = "mysql" CertManager = "cert-manager" Rancher = "rancher" Keycloak = "keycloak" Grafana = "grafana" JaegerOperator = "jaeger-operator" Opensearch = "opensearch" Velero = "velero" Verrazzano = "verrazzano" Fluentd = "fluentd" MySQLOperator = "mysql-operator" )
Components Names
const ArgoCDClusterRancherSecretName = "verrazzano-argocd-secret"
ArgoCDClusterRancherSecretName is the name of secret for the Verrazzano Argo CD cluster user #nosec
const ArgoCDClusterRancherUsername = "vz-argoCD-reg"
ArgoCDClusterRancherUsername is the username in Rancher used to identify the Verrazzano Argo CD cluster user
const ArgoCDNamespace = "argocd"
ArgoCDNamespace - the Argocd namespace
const CABundleKey = "cacerts.pem"
CABundleKey is the key for the CA bundle in the PrivateCABundle secret
const CACertKey = "ca.crt"
CACertKey is the key for the CA bundle Cert-Manager issued leaf-certificate secrets, if it not from a public issuer
const CertManagerNamespace = "cert-manager"
CertManagerNamespace - the CertManager namespace
const ContainerizedWorkloadKind = "ContainerizedWorkload"
ContainerizedWorkloadKind - the ContainerizedWorkload resource kind
const CustomCACertKey = "tls.crt"
CustomCACertKey is the key for the public certificate in Cert-Manager issued certificate secrets
const DaemonSetWorkloadKind = "DaemonSet"
DaemonSetWorkloadKind - the DaemonSet workload resource kind
const DefaultJaegerOSURL = "http://verrazzano-authproxy-opensearch.verrazzano-system:8775"
Default Jaeger OpenSearch URL
const DefaultJaegerSecretName = "verrazzano-jaeger-secret"
DefaultJaegerSecretName is the Jaeger secret name used by the default Jaeger instance #nosec
const DefaultOpensearchURL = "http://verrazzano-authproxy-opensearch:8775"
Default OpenSearch URL
const DefaultOperatorOSURL = "http://verrazzano-authproxy-opensearch-logging:8775"
DefaultOperatorOSURL is the default OpenSearch URL for opensearch-operator based OpenSearch
const DefaultOperatorOSURLWithNS = "http://verrazzano-authproxy-opensearch-logging.verrazzano-system:8775"
DefaultOperatorOSURLWithNS is the default OpenSearch URL for opensearch-operator based OpenSearch with namespace suffix
const DefaultVerrazzanoCASecretName = "verrazzano-ca-certificate-secret"
DefaultVerrazzanoCASecretName Default self-signed CA secret name #nosec
const DeploymentWorkloadKind = "Deployment"
DeploymentWorkloadKind - the Deployment workload resource kind
const ExternalDNSNamespace = VerrazzanoSystemNamespace
ExternalDNSNamespace - the ExternalDNS namespace
const FluentBitDaemonSetName = "fluent-bit"
FluentBitDaemonSetName - The name of the FluentBit DaemonSet
const FluentdDaemonSetName = "fluentd"
FluentdDaemonSetName - The name of the Fluentd DaemonSet
const IstioSystemNamespace = "istio-system"
IstioSystemNamespace - the Istio system namespace
const JaegerCollectorComponentName = "collector"
JaegerQueryComponentName is the name of the collector component
const JaegerInstanceName = "jaeger-operator-jaeger"
JaegerInstanceName is the name of the default Jaeger instance
const JaegerQueryComponentName = "query"
JaegerQueryComponentName is the name of the collector component
const KeycloakNamespace = "keycloak"
KeycloakNamespace - the keycloak namespace
const KubeSystem = "kube-system"
KubeSystem - The name of the kube-system namespace
const LabelIstioInjection = "istio-injection"
LabelIstioInjection - constant for a Kubernetes label that is applied by Verrazzano
const LabelVerrazzanoNamespace = "verrazzano.io/namespace"
LabelVerrazzanoNamespace - constant for a Kubernetes label that is used by network policies
const LegacyOpensearchSecretName = "verrazzano"
LegacyOpensearchSecretName legacy secret name for Opensearch credentials
const LetsEncryptProduction = "production"
LetsEncryptProduction - LetsEncrypt production env
const LetsEncryptStaging = "staging"
LetsEncryptStaging - LetsEncrypt staging env
const LifecycleActionAnnotation = "verrazzano.io/lifecycle-action"
LifecycleActionAnnotation - the annotation perform lifecycle actions on a workload
const LifecycleActionStart = "start"
LifecycleActionStart - the annotation value used to start a workload
const LifecycleActionStop = "stop"
LifecycleActionStop - the annotation value used to stop a workload
const MaxTimesVMCAgentPollingTime = 3
MaxTimesVMCAgentPollingTime - The constant used to set max polling time for vmc agent to determine VMC state
const MetricsTemplateAPIVersion = "app.verrazzano.io/v1alpha1"
MetricsTemplateAPIVersion is the APIVersion of the MetricsTemplate custom resource
const MetricsTemplateKind = "MetricsTemplate"
MetricsTemplateKind is the Kind of the MetricsTemplate custom resource
const MySQLOperatorNamespace = "mysql-operator"
MySQLOperatorNamespace indicates the namespace to be used for the MySQLOperator installation
const MysqlBackupMutatingWebhookName = "verrazzano-mysql-backup"
MysqlBackupMutatingWebhookName specifies the name of mysql webhook.
const MysqlBackupMutatingWebhookPath = "/mysql-backup-job-annotate"
MysqlBackupMutatingWebhookPath specifies the path of mysql webhook.
const PrivateCABundle = "verrazzano-tls-ca"
PrivateCABundle is an optional tls secret that contains private CAs used to issue/validate Verrazzano certificates
const PromAdditionalScrapeConfigsSecretKey = "jobs"
PromAdditionalScrapeConfigsSecretKey is the name of the key in the additional scrape configurations secret that contains the scrape config YAML
const PromAdditionalScrapeConfigsSecretName = "additional-scrape-configs"
PromAdditionalScrapeConfigsSecretName is the name of the secret that contains the additional scrape configurations loaded by Prometheus
const PrometheusJobNameKey = "job_name"
const PrometheusOperatorNamespace = "verrazzano-monitoring"
PrometheusOperatorNamespace - the namespace where Verrazzano installs Prometheus Operator and its related components.
const RancherSystemNamespace = "cattle-system"
RancherSystemNamespace - the Rancher cattle-system namespace
const RancherTLSCA = "tls-ca"
RancherTLSCA is a tls secret that contains CA if private CA is being used
const RancherTLSCAKey = "cacerts.pem"
RancherTLSCAKey is the key containing the CA in the secret specified by the RancherTLSCA constant
const RestartVersionAnnotation = "verrazzano.io/restart-version"
RestartVersionAnnotation - the annotation used by user to tell Verrazzano application to restart its components
const SecretKind = "Secret"
SecretKind is the kind for a secret
const StatefulSetWorkloadKind = "StatefulSet"
StatefulSetWorkloadKind - the StatefulSet workload resource kind
const TestPrometheusJobScrapeInterval = "0s"
TestPrometheusJobScrapeInterval - The string 0s representing a test only prometheus config scrape interval
const TestPrometheusScrapeJob = "test_job"
TestPrometheusJob - Name of a test prometheus scraper job
const ThanosQueryIngress = "thanos-query-frontend"
ThanosQueryIngress is the name of the ingress for the Thanos Query
const ThanosQueryStoreIngress = "thanos-query-store"
ThanosQueryStoreIngress is the name of the ingress for the Thanos Query Store API
const ThanosRulerIngress = "thanos-ruler"
ThanosRulerIngress is the name of the ingress for the Thanos Ruler
const VMCAgentPollingTimeInterval = 60 * time.Second
VMCAgentPollingTimeInterval - The time interval at which mcagent polls Verrazzano Managed CLuster resource on the admin cluster.
const VerrazzanoCAPINamespace = "verrazzano-capi"
VerrazzanoCAPINamespace is the system namespace for Cluster API resources
const VerrazzanoClusterIssuerName = "verrazzano-cluster-issuer"
VerrazzanoClusterIssuerName Name of the Verrazzano Cert-Manager cluster issuer
const VerrazzanoClusterRancherName = "verrazzano-cluster-registrar"
VerrazzanoClusterRancherName is the name for the Rancher cluster role and secret used to grant permissions to the Verrazzano cluster user
const VerrazzanoClusterRancherUsername = "vz-cluster-reg"
VerrazzanoClusterRancherUsername is the username in Rancher used to identify the Verrazzano cluster user
const VerrazzanoCoherenceWorkloadKind = "VerrazzanoCoherenceWorkload"
VerrazzanoCoherenceWorkloadKind - the VerrazzanoCoherenceWorkload resource kind
const VerrazzanoESInternal = "verrazzano-es-internal"
VerrazzanoESInternal is the name of the Verrazzano internal Opensearch secret in the Verrazzano system namespace
const VerrazzanoHelidonWorkloadKind = "VerrazzanoHelidonWorkload"
VerrazzanoHelidonWorkloadKind - the VerrazzanoHelidonWorkload resource kind
const VerrazzanoIngressTLSSecret = "verrazzano-tls" //nolint:gosec //#gosec G101
VerrazzanoIngressTLSSecret is the name of the secret in a cluster that contains the cluster's ca bundle
const VerrazzanoInstallNamespace = "verrazzano-install"
VerrazzanoInstallNamespace is the namespace for installing the verrazzano-platform-operator
const VerrazzanoLoggingNamespace = "verrazzano-logging"
VerrazzanoLoggingNamespace is the namespace for logging components
const VerrazzanoManagedLabelKey = "verrazzano-managed"
VerrazzanoManagedLabelKey is a constant for a Kubernetes label that is applied to Verrazzano application namespaces
const VerrazzanoMonitoringNamespace = "verrazzano-monitoring"
VerrazzanoMonitoringNamespace is the namespace for monitoring components
const VerrazzanoMultiClusterNamespace = "verrazzano-mc"
VerrazzanoMultiClusterNamespace is the multi-cluster namespace for Verrazzano
const VerrazzanoOIDCSystemRealm = "verrazzano-system"
VerrazzanoOIDCSystemRealm is the OIDC realm used for Verrazzano system auth
const VerrazzanoPromInternal = "verrazzano-prom-internal"
VerrazzanoPromInternal is the name of the Verrazzano internal Prometheus secret in the Verrazzano system namespace
const VerrazzanoRestartAnnotation = "verrazzano.io/restartedAt"
VerrazzanoRestartAnnotation is the annotation used to restart platform workloads
const VerrazzanoSystemNamespace = "verrazzano-system"
VerrazzanoSystemNamespace is the system namespace for Verrazzano
const VerrazzanoWebLogicWorkloadKind = "VerrazzanoWebLogicWorkload"
VerrazzanoWebLogicWorkloadKind - the VerrazzanoWebLogicWorkload resource kind
const VmiPromConfigName string = "vmi-system-prometheus-config"
VmiPromConfigName - The name of the prometheus config map
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.