settings

package
v0.0.4-rc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RioSystemNamespace    = "rio-system"
	IstioGateway          = "rio-gateway"
	IstioGatewayDeploy    = "istio-gateway"
	IstioStackName        = "istio"
	IstioTelemetry        = "istio-telemetry"
	DefaultServiceVersion = "v0"
	CerManagerIssuerName  = "letsencrypt-issuer"
	IstionConfigMapName   = "mesh"
	IstionConfigMapKey    = "content"
)

Variables

View Source
var (
	LocalStacksDir = settings.NewSetting("local-projects-dir", "/etc/rancher/rio/projects/")
	ClusterDomain  = settings.NewSetting("cluster-domain", "")
	IstioEnabled   = settings.NewSetting("istio", "true")
	RDNSURL        = settings.NewSetting("rdns-url", "https://api.lb.rancher.cloud/v1")
	RioImage       = settings.NewSetting("rio-image", "rancher/rio")

	IstioExternalLBNamespace = namespace.StackNamespace(RioSystemNamespace, IstioStackName)
	IstioTelemetryNamespace  = namespace.StackNamespace(RioSystemNamespace, IstioTelemetry)
	IstioGatewaySelector     = map[string]string{
		"gateway": "external",
	}

	LetsEncryptServerUrl    = settings.NewSetting("letsencrypt-server", "https://acme-staging-v02.api.letsencrypt.org/directory")
	LetsEncryptAccountEmail = settings.NewSetting("letsencrypt-account-email", "daishan@rancher.com")
	CertManagerImage        = settings.NewSetting("certmanager-image", "daishan1992/cert-manager:latest")

	DefaultHTTPOpenPort  = settings.NewSetting("default-http-port", "80")
	DefaultHTTPSOpenPort = settings.NewSetting("default-https-port", "443")

	EnableMonitoring = settings.NewSetting("enable-monitoring", "true")
	RouteStubImage   = settings.NewSetting("route-stub-image", "ibuildthecloud/demo:v1")
)

Functions

This section is empty.

Types

This section is empty.

Source Files

  • settings.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL