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 ¶
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/" )
Default registries for Calico and Tigera.
const UseDefault = "UseDefault"
Variables ¶
var ( CalicoRelease string = "v3.28.2" ComponentCalicoCNI = component{ Version: "v3.28.2", Image: "calico/cni", Registry: "", } ComponentCalicoCNIFIPS = component{ Version: "v3.28.2-fips", Image: "calico/cni", Registry: "", } ComponentCalicoCNIWindows = component{ Version: "v3.28.2", Image: "calico/cni-windows", Registry: "", } ComponentCalicoCSRInitContainer = component{ Version: "v3.28.2", Image: "calico/key-cert-provisioner", Registry: "", } ComponentCalicoKubeControllers = component{ Version: "v3.28.2", Image: "calico/kube-controllers", Registry: "", } ComponentCalicoKubeControllersFIPS = component{ Version: "v3.28.2-fips", Image: "calico/kube-controllers", Registry: "", } ComponentCalicoNode = component{ Version: "v3.28.2", Image: "calico/node", Registry: "", } ComponentCalicoNodeFIPS = component{ Version: "v3.28.2-fips", Image: "calico/node", Registry: "", } ComponentCalicoNodeWindows = component{ Version: "v3.28.2", Image: "calico/node-windows", Registry: "", } ComponentCalicoTypha = component{ Version: "v3.28.2", Image: "calico/typha", Registry: "", } ComponentCalicoTyphaFIPS = component{ Version: "v3.28.2-fips", Image: "calico/typha", Registry: "", } ComponentCalicoFlexVolume = component{ Version: "v3.28.2", Image: "calico/pod2daemon-flexvol", Registry: "", } ComponentCalicoAPIServer = component{ Version: "v3.28.2", Image: "calico/apiserver", Registry: "", } ComponentCalicoAPIServerFIPS = component{ Version: "v3.28.2-fips", Image: "calico/apiserver", Registry: "", } ComponentCalicoCSI = component{ Version: "v3.28.2", Image: "calico/csi", Registry: "", } ComponentCalicoCSIFIPS = component{ Version: "v3.28.2-fips", Image: "calico/csi", Registry: "", } ComponentCalicoCSIRegistrar = component{ Version: "v3.28.2", Image: "calico/node-driver-registrar", Registry: "", } ComponentCalicoCSIRegistrarFIPS = component{ Version: "v3.28.2-fips", Image: "calico/node-driver-registrar", Registry: "", } ComponentOperatorInit = component{ Version: version.VERSION, Image: "tigera/operator", } CalicoImages = []component{ ComponentCalicoCNI, ComponentCalicoCNIFIPS, ComponentCalicoCNIWindows, ComponentCalicoCSRInitContainer, ComponentCalicoKubeControllers, ComponentCalicoKubeControllersFIPS, ComponentCalicoNode, ComponentCalicoNodeFIPS, ComponentCalicoNodeWindows, ComponentCalicoTypha, ComponentCalicoTyphaFIPS, ComponentCalicoFlexVolume, ComponentOperatorInit, ComponentCalicoAPIServer, ComponentCalicoAPIServerFIPS, ComponentCalicoCSI, ComponentCalicoCSIFIPS, ComponentCalicoCSIRegistrar, ComponentCalicoCSIRegistrarFIPS, } )
var ( EnterpriseRelease string = "v3.19.3" ComponentAPIServer = component{ Version: "v3.19.3", Image: "tigera/cnx-apiserver", Registry: "", } ComponentComplianceBenchmarker = component{ Version: "v3.19.3", Image: "tigera/compliance-benchmarker", Registry: "", } ComponentComplianceController = component{ Version: "v3.19.3", Image: "tigera/compliance-controller", Registry: "", } ComponentComplianceReporter = component{ Version: "v3.19.3", Image: "tigera/compliance-reporter", Registry: "", } ComponentComplianceServer = component{ Version: "v3.19.3", Image: "tigera/compliance-server", Registry: "", } ComponentComplianceSnapshotter = component{ Version: "v3.19.3", Image: "tigera/compliance-snapshotter", Registry: "", } ComponentTigeraCSRInitContainer = component{ Version: "v3.19.3", Image: "tigera/key-cert-provisioner", Registry: "", } ComponentDeepPacketInspection = component{ Version: "v3.19.3", Image: "tigera/deep-packet-inspection", Registry: "", } ComponentEckElasticsearch = component{ Version: "7.17.24", Registry: "", } ComponentEckKibana = component{ Version: "7.17.24", Registry: "", } ComponentElasticTseeInstaller = component{ Version: "v3.19.3", Image: "tigera/intrusion-detection-job-installer", Registry: "", } ComponentElasticsearch = component{ Version: "v3.19.3", Image: "tigera/elasticsearch", Registry: "", } ComponentElasticsearchFIPS = component{ Version: "v3.19.3-fips", Image: "tigera/elasticsearch", Registry: "", } ComponentECKElasticsearchOperator = component{ Version: "2.6.1", Registry: "", } ComponentElasticsearchOperator = component{ Version: "v3.19.3", Image: "tigera/eck-operator", Registry: "", } ComponentEsProxy = component{ Version: "v3.19.3", Image: "tigera/es-proxy", Registry: "", } ComponentESGateway = component{ Version: "v3.19.3", Image: "tigera/es-gateway", Registry: "", } ComponentLinseed = component{ Version: "v3.19.3", Image: "tigera/linseed", Registry: "", } ComponentFluentd = component{ Version: "v3.19.3", Image: "tigera/fluentd", Registry: "", } ComponentFluentdWindows = component{ Version: "v3.19.3", Image: "tigera/fluentd-windows", Registry: "", } ComponentGuardian = component{ Version: "v3.19.3", Image: "tigera/guardian", Registry: "", } ComponentIntrusionDetectionController = component{ Version: "v3.19.3", Image: "tigera/intrusion-detection-controller", Registry: "", } ComponentSecurityEventWebhooksProcessor = component{ Version: "v3.19.3", Image: "tigera/webhooks-processor", Registry: "", } ComponentKibana = component{ Version: "v3.19.3", Image: "tigera/kibana", Registry: "", } ComponentManager = component{ Version: "v3.19.3", Image: "tigera/cnx-manager", Registry: "", } ComponentDex = component{ Version: "v3.19.3", Image: "tigera/dex", Registry: "", } ComponentManagerProxy = component{ Version: "v3.19.3", Image: "tigera/voltron", Registry: "", } ComponentPacketCapture = component{ Version: "v3.19.3", Image: "tigera/packetcapture", Registry: "", } ComponentPolicyRecommendation = component{ Version: "v3.19.3", Image: "tigera/policy-recommendation", Registry: "", } ComponentEgressGateway = component{ Version: "v3.19.3", Image: "tigera/egress-gateway", Registry: "", } ComponentL7Collector = component{ Version: "v3.19.3", Image: "tigera/l7-collector", Registry: "", } ComponentEnvoyProxy = component{ Version: "v3.19.3", Image: "tigera/envoy", Registry: "", } ComponentDikastes = component{ Version: "v3.19.3", Image: "tigera/dikastes", Registry: "", } ComponentCoreOSPrometheus = component{ Version: "v2.48.1", Registry: "", } ComponentPrometheus = component{ Version: "v3.19.3", Image: "tigera/prometheus", Registry: "", } ComponentTigeraPrometheusService = component{ Version: "v3.19.3", Image: "tigera/prometheus-service", Registry: "", } ComponentCoreOSAlertmanager = component{ Version: "v0.25.0", Registry: "", } ComponentPrometheusAlertmanager = component{ Version: "v3.19.3", Image: "tigera/alertmanager", Registry: "", } ComponentQueryServer = component{ Version: "v3.19.3", Image: "tigera/cnx-queryserver", Registry: "", } ComponentTigeraKubeControllers = component{ Version: "v3.19.3", Image: "tigera/kube-controllers", Registry: "", } ComponentTigeraNode = component{ Version: "v3.19.3", Image: "tigera/cnx-node", Registry: "", } ComponentTigeraNodeWindows = component{ Version: "v3.19.3", Image: "tigera/cnx-node-windows", Registry: "", } ComponentTigeraTypha = component{ Version: "v3.19.3", Image: "tigera/typha", Registry: "", } ComponentTigeraCNI = component{ Version: "v3.19.3", Image: "tigera/cni", Registry: "", } ComponentTigeraCNIFIPS = component{ Version: "v3.19.3-fips", Image: "tigera/cni", Registry: "", } ComponentTigeraCNIWindows = component{ Version: "v3.19.3", Image: "tigera/cni-windows", Registry: "", } ComponentElasticsearchMetrics = component{ Version: "v3.19.3", Image: "tigera/elasticsearch-metrics", Registry: "", } ComponentTigeraFlexVolume = component{ Version: "v3.19.3", Image: "tigera/pod2daemon-flexvol", Registry: "", } ComponentTigeraCSI = component{ Version: "v3.19.3", Image: "tigera/csi", Registry: "", } ComponentTigeraCSINodeDriverRegistrar = component{ Version: "v3.19.3", Image: "tigera/node-driver-registrar", Registry: "", } // Only components that correspond directly to images should be included in this list, // Components that are only for providing a version should be left out of this list. EnterpriseImages = []component{ ComponentAPIServer, ComponentComplianceBenchmarker, ComponentComplianceController, ComponentComplianceReporter, ComponentComplianceServer, ComponentComplianceSnapshotter, ComponentTigeraCSRInitContainer, ComponentDeepPacketInspection, ComponentElasticTseeInstaller, ComponentElasticsearch, ComponentElasticsearchFIPS, ComponentElasticsearchOperator, ComponentEsProxy, ComponentFluentd, ComponentFluentdWindows, ComponentGuardian, ComponentIntrusionDetectionController, ComponentSecurityEventWebhooksProcessor, ComponentKibana, ComponentManager, ComponentDex, ComponentManagerProxy, ComponentPacketCapture, ComponentPolicyRecommendation, ComponentEgressGateway, ComponentL7Collector, ComponentEnvoyProxy, ComponentPrometheus, ComponentTigeraPrometheusService, ComponentPrometheusAlertmanager, ComponentQueryServer, ComponentTigeraKubeControllers, ComponentTigeraNode, ComponentTigeraNodeWindows, ComponentTigeraTypha, ComponentTigeraCNI, ComponentTigeraCNIFIPS, ComponentTigeraCNIWindows, ComponentElasticsearchMetrics, ComponentESGateway, ComponentLinseed, ComponentDikastes, ComponentTigeraFlexVolume, ComponentTigeraCSI, ComponentTigeraCSINodeDriverRegistrar, } )
Functions ¶
func GetCSRContainerDefaultResources ¶ added in v1.34.0
func GetCSRContainerDefaultResources() corev1.ResourceRequirements
func GetReference ¶ added in v1.4.0
func GetReference(c component, registry, imagePath, imagePrefix 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
Types ¶
type ReplicatedPodResourceOverrides ¶ added in v1.27.17
type ReplicatedPodResourceOverrides interface { // GetMetadata returns metadata used to override the DaemonSet/Deployment's metadata. GetMetadata() *opv1.Metadata // GetMinReadySeconds returns the value used to override a DaemonSet/Deployment's minReadySeconds. GetMinReadySeconds() *int32 // GetPodTemplateMetadata returns metadata used to override a DaemonSet/Deployment pod template's metadata. GetPodTemplateMetadata() *opv1.Metadata // GetInitContainers returns the containers used to override a DaemonSet/Deployment's init containers. // Only containers with fields specified (other than its name) should be returned. GetInitContainers() []corev1.Container // GetContainers returns the containers used to override a DaemonSet/Deployment's containers. // Only containers with fields specified (other than its name) should be returned. GetContainers() []corev1.Container // GetAffinity returns the value used to override a DaemonSet/Deployment's affinity. GetAffinity() *corev1.Affinity // GetNodeSelector returns the value used to override a DaemonSet/Deployment's nodeSelector. GetNodeSelector() map[string]string // GetTopologySpreadConstraints returns topology spread constraints to use. GetTopologySpreadConstraints() []corev1.TopologySpreadConstraint // GetTolerations returns the value used to override a DaemonSet/Deployment's tolerations. GetTolerations() []corev1.Toleration GetTerminationGracePeriodSeconds() *int64 GetDeploymentStrategy() *appsv1.DeploymentStrategy // GetPriorityClassName() returns the value used to override a DaemonSet/Deployment's priorityClassName. GetPriorityClassName() string }
ReplicatedPodResourceOverrides represents a type that contains the data needed to override a component DaemonSet or Deployment resource.