env

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultFluxVer is the default version of the flux component.
	DefaultFluxVer = "v2.1.0"
	// DefaultOcmControllerVer is the default version of the ocm-controller component.
	DefaultOcmControllerVer = "v0.13.0"
	// DefaultGitControllerVer is the default version of the git-controller component.
	DefaultGitControllerVer = "v0.8.0"
	// DefaultReplicationVer is the default version of the replication-controller component.
	DefaultReplicationVer = "v0.7.0"
	// DefaultMpasProductControllerVer is the default version of the mpas-product-controller component.
	DefaultMpasProductControllerVer = "v0.4.0"
	// DefaultMpasProjectControllerVer is the default version of the mpas-project-controller component.
	DefaultMpasProjectControllerVer = "v0.1.2"
	// DefaultOcmCliVer is the default version of the ocm-cli component.
	DefaultOcmCliVer = "v0.3.0"
)

The default versions of the components. Please update this list when a new version is released.

View Source
const (
	// FluxBinURL is the URL to download the flux binary.
	FluxBinURL = "https://github.com/fluxcd/flux2/releases/download"
	// OcmBinURL is the URL to download the ocm binary.
	OcmBinURL = "https://github.com/open-component-model/ocm/releases/download"
	// ComponentNamePrefix is the prefix for the component names.
	ComponentNamePrefix = "ocm.software/mpas"
	// DefaultOCMHost is the default host for the ocm components.
	DefaultOCMHost = "ghcr.io/open-component-model"
	// DefaultBootstrapComponentLocation is the default location of the bootstrap component.
	DefaultBootstrapComponentLocation = "ghcr.io/open-component-model/mpas-bootstrap-component"
	// DefautBootstrapBundleLocation is the default location of the bootstrap bundle.
	DefautBootstrapBundleLocation = DefaultBootstrapComponentLocation + "-bundle"
	// DefaultFluxHost is the default host for the flux components.
	DefaultFluxHost = "ghcr.io/fluxcd"
	// DefaultOCMInstallPath is the default path to install the ocm components.
	DefaultOCMInstallPath = "ocm-system"
	// DefaultFluxNamespace is the default namespace to install the flux components.
	DefaultFluxNamespace = "flux-system"
	// RegistryTLSSecretName is the name of the secret in which we store the TLS creds for the in-cluster registry.
	RegistryTLSSecretName = "ocm-registry-tls-certs"
)
View Source
const (
	// DefaultsNamespace is the mpas-system namespace.
	DefaultsNamespace = "mpas-system"
	// GithubTokenVar is the name of the environment variable to use to get the github token.
	GithubTokenVar = "GITHUB_TOKEN"
	// GiteaTokenVar is the name of the environment variable to use to get the gitea token.
	GiteaTokenVar = "GITEA_TOKEN"
)
View Source
const (
	// ProviderGithub is the github provider.
	ProviderGithub = "github"
	// ProviderGitea is the gitea provider.
	ProviderGitea = "gitea"
)
View Source
const (
	OcmControllerName         = "ocm-controller"
	GitControllerName         = "git-controller"
	ReplicationControllerName = "replication-controller"
	MpasProductControllerName = "mpas-product-controller"
	MpasProjectControllerName = "mpas-project-controller"
	FluxName                  = "flux"
)

Variables

View Source
var (
	// Components is the list of components to install or package.
	Components = []string{
		OcmControllerName,
		FluxName,
		GitControllerName,
		ReplicationControllerName,
		MpasProductControllerName,
		MpasProjectControllerName,
	}
	// BinaryComponents is the list of components that are binaries.
	BinaryComponents = []string{
		"flux-cli",
		"ocm-cli",
	}
	// DefaultBootstrapComponent is the default bootstrap component fqdn.
	DefaultBootstrapComponent = fmt.Sprintf("%s/bootstrap", ComponentNamePrefix)
)
View Source
var (
	// DefaultKubeAPIQPS is the default QPS for the kube API.
	DefaultKubeAPIQPS float32 = 50.0
	// DefaultKubeAPIBurst is the default burst for the kube API.
	DefaultKubeAPIBurst = 300
	// DefaultPollInterval is the default poll interval.
	DefaultPollInterval = 2 * time.Second
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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