Documentation ¶
Index ¶
- Constants
- func AppendOverrides(compContext spi.ComponentContext, _ string, _ string, _ string, ...) ([]bom.KeyValue, error)
- func GetHelmManagedResources() []common.HelmManagedResource
- func GetOverrides(object runtime.Object) interface{}
- func NewComponent() spi.Component
- func ReassociateResources(cli clipkg.Client) error
Constants ¶
const ( // ComponentName is the name of the component ComponentName = "jaeger-operator" // ComponentNamespace is the namespace of the component ComponentNamespace = constants.VerrazzanoMonitoringNamespace // ComponentJSONName is the JSON name of the component in the CRD ComponentJSONName = "jaegerOperator" // ChartDir is the relative directory path for Jaeger Operator chart ChartDir = "jaegertracing/jaeger-operator" // ComponentServiceName is the name of the service. ComponentServiceName = "jaeger-operator-metrics" // ComponentWebhookServiceName is the name of the webhook service. ComponentWebhookServiceName = "jaeger-operator-webhook-service" // ComponentMutatingWebhookConfigName is the name of the mutating webhook config. ComponentMutatingWebhookConfigName = "jaeger-operator-mutating-webhook-configuration" // ComponentValidatingWebhookConfigName is the name of the mutating webhook config. ComponentValidatingWebhookConfigName = "jaeger-operator-validating-webhook-configuration" // ComponentCertificateName is the name of the Certificate. ComponentCertificateName = "jaeger-operator-serving-cert" // ComponentSecretName is the name of the secret. ComponentSecretName = "jaeger-operator-service-cert" // JaegerCollectorDeploymentName is the name of the Jaeger instance collector deployment. JaegerCollectorDeploymentName = globalconst.JaegerInstanceName + "-" + globalconst.JaegerCollectorComponentName // JaegerQueryDeploymentName is the name of the Jaeger instance query deployment. JaegerQueryDeploymentName = globalconst.JaegerInstanceName + "-" + globalconst.JaegerQueryComponentName )
Variables ¶
This section is empty.
Functions ¶
func AppendOverrides ¶ added in v1.4.0
func AppendOverrides(compContext spi.ComponentContext, _ string, _ string, _ string, kvs []bom.KeyValue) ([]bom.KeyValue, error)
AppendOverrides appends Helm value overrides for the Jaeger Operator component's Helm chart A go template is used to specify the Jaeger images using extraEnv key.
func GetHelmManagedResources ¶ added in v1.4.0
func GetHelmManagedResources() []common.HelmManagedResource
GetHelmManagedResources returns a list of extra resource types and their namespaced names that are managed by the jaeger helm chart
func GetOverrides ¶ added in v1.4.0
GetOverrides returns the list of install overrides for a component
func NewComponent ¶
func ReassociateResources ¶ added in v1.4.0
ReassociateResources updates the resources to ensure they are managed by this release/component. The resource policy annotation is removed to ensure that helm manages the lifecycle of the resources (the resource policy annotation is added to ensure the resources are disassociated from the VZ chart which used to manage these resources)
Types ¶
This section is empty.