Documentation ¶
Index ¶
Constants ¶
View Source
const ( RioSystemNamespace = "rio-system" IstioGateway = "rio-gateway" IstioGatewayDeploy = "istio-gateway" IstioStackName = "istio" IstioTelemetry = "istio-telemetry" Prometheus = "prometheus" Grafana = "grafana" AutoScaleStack = "rio-autoscaler" DefaultServiceVersion = "v0" StagingType = "staging" ProductionType = "production" SelfSignedType = "selfsigned" StagingIssuerName = "letsencrypt-staging-issuer" ProductionIssuerName = "letsencrypt-production-issuer" SelfSignedIssuerName = "selfsigned-issuer" RioWildcardType = "RIO_WILDCARD_CERT_TYPE" PublicDomainType = "RIO_PUBLICDOMAIN_CERT_TYPE" CertManagerImageType = "CERT_MANAGER_IMAGE" IstionConfigMapName = "mesh" IstionConfigMapKey = "content" )
Variables ¶
View Source
var ( LocalStacksDir = NewSetting("local-projects-dir", "/etc/rancher/rio/projects/") ClusterDomain = NewSetting("cluster-domain", "") IstioEnabled = NewSetting("istio", "true") RDNSURL = NewSetting("rdns-url", "https://api.lb.rancher.cloud/v1") RioImage = NewSetting("rio-image", "rancher/rio") IstioExternalLBNamespace = namespace.StackNamespace(RioSystemNamespace, IstioStackName) IstioTelemetryNamespace = namespace.StackNamespace(RioSystemNamespace, IstioTelemetry) PrometheusNamespace = namespace.StackNamespace(RioSystemNamespace, Prometheus) GrafanaNamespace = namespace.StackNamespace(RioSystemNamespace, Grafana) IstioGatewaySelector = map[string]string{ "gateway": "external", } LetsEncryptStagingServerUrl = NewSetting("letsencrypt-staging-server", "https://acme-staging-v02.api.letsencrypt.org/directory") LetsEncryptProductionServerUrl = NewSetting("letsencrypt-production-server", "https://acme-v02.api.letsencrypt.org/directory") LetsEncryptAccountEmail = NewSetting("letsencrypt-account-email", "daishan@rancher.com") CertManagerImage = NewSetting("certmanager-image", "daishan1992/cert-manager:latest") DefaultHTTPOpenPort = NewSetting("default-http-port", "80") DefaultHTTPSOpenPort = NewSetting("default-https-port", "443") EnableMonitoring = NewSetting("enable-monitoring", "true") RouteStubImage = NewSetting("route-stub-image", "ibuildthecloud/demo:v1") )
Functions ¶
func SetProvider ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.