components

package
v1.15.4 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: Apache-2.0 Imports: 4 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.

View Source
const UseDefault = "UseDefault"

Variables

View Source
var (
	CalicoRelease string = "v3.18.4"

	ComponentCalicoCNI = component{
		Version: "v3.18.4",
		Image:   "calico/cni",
	}

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

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

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

	ComponentFlexVolume = component{
		Version: "v3.18.4",
		Image:   "calico/pod2daemon-flexvol",
	}
	ComponentOperatorInit = component{
		Version: version.VERSION,
		Image:   "tigera/operator",
	}

	CalicoComponents = []component{
		ComponentCalicoCNI,
		ComponentCalicoKubeControllers,
		ComponentCalicoNode,
		ComponentCalicoTypha,
		ComponentFlexVolume,
		ComponentOperatorInit,
	}
)
View Source
var (
	ComponentCSRInitContainer = component{
		Version: "release-v1.0",
		Image:   "tigera/key-cert-provisioner",
	}
	CommonComponents = []component{
		ComponentCSRInitContainer,
	}
)
View Source
var (
	EnterpriseRelease string = "v3.5.0"

	ComponentAPIServer = component{
		Version: "v3.5.0",
		Image:   "tigera/cnx-apiserver",
	}

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

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

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

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

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

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

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

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

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

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

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

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

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

	ComponentFluentdWindows = component{
		Version: "v3.5.0",
		Image:   "tigera/fluentd-windows",
	}

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

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

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

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

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

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

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

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

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

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

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

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

	EnterpriseComponents = []component{
		ComponentAPIServer,
		ComponentComplianceBenchmarker,
		ComponentComplianceController,
		ComponentComplianceReporter,
		ComponentComplianceServer,
		ComponentComplianceSnapshotter,
		ComponentEckElasticsearch,
		ComponentEckKibana,
		ComponentElasticTseeInstaller,
		ComponentElasticsearch,
		ComponentElasticsearchOperator,
		ComponentEsCurator,
		ComponentEsProxy,
		ComponentFluentd,
		ComponentFluentdWindows,
		ComponentGuardian,
		ComponentIntrusionDetectionController,
		ComponentKibana,
		ComponentManager,
		ComponentDex,
		ComponentManagerProxy,
		ComponentQueryServer,
		ComponentTigeraKubeControllers,
		ComponentTigeraNode,
		ComponentTigeraTypha,
		ComponentTigeraCNI,
		ComponentCloudControllers,
	}
)

Functions

func GetReference added in v1.4.0

func GetReference(c component, registry, imagepath string, is *operator.ImageSet) (string, error)

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