components

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

View Source
const (
	CalicoRegistry = "docker.io/"
	TigeraRegistry = "quay.io/"
	// For production InitRegistry should match TigeraRegistry.
	// For the master branch and other testing scenarios we switch TigeraRegistry to
	// point to a testing repo but the init image will be pushed to quay, so having
	// these separate allows pulling the proper test images for the Tigera components
	// and Init image when testing.
	InitRegistry   = "quay.io/"
	K8sGcrRegistry = "gcr.io/"
	ECKRegistry    = "docker.elastic.co/"
)

Default registries for Calico and Tigera.

Variables

View Source
var (
	ComponentCalicoCNI = component{
		Version: "v3.16.4",
		Image:   "calico/cni",
	}

	ComponentCalicoKubeControllers = component{
		Version: "v3.16.4",
		Image:   "calico/kube-controllers",
	}

	ComponentCalicoNode = component{
		Version: "v3.16.4",
		Image:   "calico/node",
	}

	ComponentCalicoTypha = component{
		Version: "v3.16.4",
		Image:   "calico/typha",
	}

	ComponentFlexVolume = component{
		Version: "v3.16.4",
		Image:   "calico/pod2daemon-flexvol",
	}

	ComponentOperatorInit = component{
		Version: version.VERSION,
		Image:   "tigera/operator",
	}
)
View Source
var (
	ComponentAPIServer = component{
		Version: "v3.4.1",
		Image:   "tigera/cnx-apiserver",
	}

	ComponentComplianceBenchmarker = component{
		Version: "v3.4.1",
		Image:   "tigera/compliance-benchmarker",
	}

	ComponentComplianceController = component{
		Version: "v3.4.1",
		Image:   "tigera/compliance-controller",
	}

	ComponentComplianceReporter = component{
		Version: "v3.4.1",
		Image:   "tigera/compliance-reporter",
	}

	ComponentComplianceServer = component{
		Version: "v3.4.1",
		Image:   "tigera/compliance-server",
	}

	ComponentComplianceSnapshotter = component{
		Version: "v3.4.1",
		Image:   "tigera/compliance-snapshotter",
	}

	ComponentEckElasticsearch = component{
		Version: "7.6.2",
		Image:   "tigera/elasticsearch",
	}

	ComponentEckKibana = component{
		Version: "7.6.2",
		Image:   "tigera/kibana",
	}

	ComponentElasticTseeInstaller = component{
		Version: "v3.4.1",
		Image:   "tigera/intrusion-detection-job-installer",
	}

	ComponentElasticsearch = component{
		Version: "v3.4.1",
		Image:   "tigera/elasticsearch",
	}

	ComponentElasticsearchOperator = component{
		Version: "1.2.1",
		Image:   "eck/eck-operator",
	}

	ComponentEsCurator = component{
		Version: "v3.4.1",
		Image:   "tigera/es-curator",
	}

	ComponentEsProxy = component{
		Version: "v3.4.1",
		Image:   "tigera/es-proxy",
	}

	ComponentFluentd = component{
		Version: "v3.4.1",
		Image:   "tigera/fluentd",
	}

	ComponentGuardian = component{
		Version: "v3.4.1",
		Image:   "tigera/guardian",
	}

	ComponentIntrusionDetectionController = component{
		Version: "v3.4.1",
		Image:   "tigera/intrusion-detection-controller",
	}

	ComponentKibana = component{
		Version: "v3.4.1",
		Image:   "tigera/kibana",
	}

	ComponentManager = component{
		Version: "v3.4.1",
		Image:   "tigera/cnx-manager",
	}

	ComponentDex = component{
		Version: "v3.4.1",
		Image:   "tigera/dex",
	}

	ComponentManagerProxy = component{
		Version: "v3.4.1",
		Image:   "tigera/voltron",
	}

	ComponentQueryServer = component{
		Version: "v3.4.1",
		Image:   "tigera/cnx-queryserver",
	}

	ComponentTigeraKubeControllers = component{
		Version: "v3.4.1",
		Image:   "tigera/kube-controllers",
	}

	ComponentTigeraNode = component{
		Version: "v3.4.1",
		Image:   "tigera/cnx-node",
	}

	ComponentTigeraTypha = component{
		Version: "v3.4.1",
		Image:   "tigera/typha",
	}

	ComponentTigeraCNI = component{
		Version: "v3.4.1",
		Image:   "tigera/cni",
	}

	ComponentCloudControllers = component{
		Version: "v3.4.1",
		Image:   "tigera/cloud-controllers",
	}
)

Functions

func GetOperatorInitReference deprecated added in v1.4.0

func GetOperatorInitReference(registry, imagepath string) string

GetOperatorInitReference returns the fully qualified image to use, including registry and version for the operatorInit image.

Deprecated: GetOperatorInitReference exists to solve a complex dependency where the digest of the operator init image isn't known until it's built, and it's code and docker image share this repository. This function should go away once operatorInit logic is moved into the operator.

func GetReference added in v1.4.0

func GetReference(c component, registry, imagepath string) string

GetReference returns the fully qualified image to use, including registry and version.

func ReplaceImagePath added in v1.4.0

func ReplaceImagePath(image, imagepath string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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