Documentation ¶
Index ¶
- Constants
- func KubeControllers(cr *operator.Installation) *kubeControllersComponent
- func ParseEndpoint(endpoint string) (string, string, string, error)
- func SetTestLogger(l logr.Logger)
- type Component
- func APIServer(registry string, tlsKeyPair *corev1.Secret, pullSecrets []*corev1.Secret, ...) Component
- func Compliance(registry string, m *operatorv1.MonitoringConfiguration, ...) Component
- func Console(cr *operator.Console, monitoring *operator.MonitoringConfiguration, ...) Component
- func CustomResourceDefinitions(cr *operator.Installation) Component
- func IntrusionDetection(registry string, m *operatorv1.MonitoringConfiguration, ...) Component
- func Namespaces(cr *operator.Installation, openshift bool, pullSecrets []*corev1.Secret) Component
- func Node(cr *operator.Installation, openshift bool) Component
- func PriorityClassDefinitions(cr *operator.Installation) Component
- type Renderer
Constants ¶
View Source
const ( APIServerNamespace = "tigera-system" APIServerTLSSecretName = "tigera-apiserver-certs" APIServerSecretKeyName = "apiserver.key" APIServerSecretCertName = "apiserver.crt" )
View Source
const ( ManagerNamespace = "tigera-console" ManagerTlsSecretName = "manager-tls" ManagerSecretKeyName = "key" ManagerSecretCertName = "cert" )
View Source
const ( CalicoRegistry = "docker.io/calico/" TigeraRegistry = "quay.io/tigera/" )
Default registries for Calico and Tigera.
View Source
const ( NodeImageNameCalico = "node:v3.8.1" CNIImageName = "cni:v3.8.1" KubeControllersImageNameCalico = "kube-controllers:v3.8.1" FlexVolumeImageName = "pod2daemon-flexvol:v3.8.1" )
This section contains images used when installing open-source Calico.
View Source
const ( // Overrides for Calico. NodeImageNameTigera = "cnx-node:nft-1fd1d3" KubeControllersImageNameTigera = "kube-controllers:v2.4.2" // API server images. APIServerImageName = "cnx-apiserver:v2.5.0" QueryServerImageName = "cnx-queryserver:v2.4.0" // Compliance images. ComplianceControllerImage = "compliance-controller:v2.4.2" ComplianceReporterImage = "compliance-reporter:v2.4.2" ComplianceServerImage = "compliance-server:v2.4.2" ComplianceSnapshotterImage = "compliance-snapshotter:v2.4.2" ComplianceBenchmarkerImage = "compliance-benchmarker:v2.5.0" // Intrusion detection images. IntrusionDetectionControllerImageName = "intrusion-detection-controller:v2.4.2" IntrusionDetectionJobInstallerImageName = "intrusion-detection-job-installer:v2.4.2" // Console images. ConsoleManagerImageName = "cnx-manager:v2.4.2" ConsoleProxyImageName = "cnx-manager-proxy:v2.4.2" ConsoleEsProxyImageName = "es-proxy:v2.4.0" )
This section contains images used when installing Tigera Secure.
View Source
const (
ComplianceNamespace = "tigera-compliance"
)
View Source
const (
IntrusionDetectionNamespace = "tigera-intrusion-detection"
)
View Source
const (
Optional = true
)
Variables ¶
This section is empty.
Functions ¶
func KubeControllers ¶
func KubeControllers(cr *operator.Installation) *kubeControllersComponent
func ParseEndpoint ¶
ParseEndpoint parses an endpoint of the form scheme://host:port and returns the components.
func SetTestLogger ¶
Types ¶
type Component ¶
type Component interface { // Objects returns all objects this component contains. Objects() []runtime.Object // Ready returns true if the component is ready to be created. Ready() bool }
func Compliance ¶
func Compliance( registry string, m *operatorv1.MonitoringConfiguration, pullSecrets []*corev1.Secret, openshift bool, ) Component
func CustomResourceDefinitions ¶
func CustomResourceDefinitions(cr *operator.Installation) Component
func IntrusionDetection ¶
func IntrusionDetection( registry string, m *operatorv1.MonitoringConfiguration, pullSecrets []*corev1.Secret, openshift bool, ) Component
func Namespaces ¶
func Node ¶
func Node(cr *operator.Installation, openshift bool) Component
Node creates the node daemonset and other resources for the daemonset to operate normally.
func PriorityClassDefinitions ¶
func PriorityClassDefinitions(cr *operator.Installation) Component
Click to show internal directories.
Click to hide internal directories.