istio: istio.io/istio/galley/pkg/config/analysis/analyzers/injection Index | Files

package injection

import "istio.io/istio/galley/pkg/config/analysis/analyzers/injection"

Index

Package Files

injection-image.go injection.go

Constants

const (
    InjectionLabelName         = "istio-injection"
    InjectionLabelEnableValue  = "enabled"
    RevisionInjectionLabelName = model.RevisionLabel
)

We assume that enablement is via an istio-injection=enabled or istio.io/rev namespace label In theory, there can be alternatives using Mutatingwebhookconfiguration, but they're very uncommon See https://istio.io/docs/ops/troubleshooting/injection/ for more info.

type Analyzer Uses

type Analyzer struct{}

Analyzer checks conditions related to Istio sidecar injection.

func (*Analyzer) Analyze Uses

func (a *Analyzer) Analyze(c analysis.Context)

Analyze implements Analyzer

func (*Analyzer) Metadata Uses

func (a *Analyzer) Metadata() analysis.Metadata

Metadata implements Analyzer

type ImageAnalyzer Uses

type ImageAnalyzer struct{}

ImageAnalyzer checks the image of auto-injection configured with the running proxies on pods.

func (*ImageAnalyzer) Analyze Uses

func (a *ImageAnalyzer) Analyze(c analysis.Context)

Analyze implements Analyzer.

func (*ImageAnalyzer) Metadata Uses

func (a *ImageAnalyzer) Metadata() analysis.Metadata

Metadata implements Analyzer.

Package injection imports 13 packages (graph) and is imported by 2 packages. Updated 2020-04-09. Refresh now. Tools for package owners.