Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ImageAutoAnalyzer (0.18 sec)

  1. pkg/config/analysis/analyzers/injection/image-auto.go

    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    // ImageAutoAnalyzer reports an error if Pods and Deployments with `image: auto` are not going to be injected.
    type ImageAutoAnalyzer struct{}
    
    var _ analysis.Analyzer = &ImageAutoAnalyzer{}
    
    const (
    	istioProxyContainerName = "istio-proxy"
    	manualInjectionImage    = "auto"
    )
    
    // Metadata implements Analyzer.
    func (a *ImageAutoAnalyzer) Metadata() analysis.Metadata {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/all.go

    		&gateway.IngressGatewayPortAnalyzer{},
    		&gateway.CertificateAnalyzer{},
    		&gateway.SecretAnalyzer{},
    		&gateway.ConflictingGatewayAnalyzer{},
    		&injection.Analyzer{},
    		&injection.ImageAnalyzer{},
    		&injection.ImageAutoAnalyzer{},
    		&k8sgateway.SelectorAnalyzer{},
    		&multicluster.MeshNetworksAnalyzer{},
    		&service.PortNameAnalyzer{},
    		&sidecar.SelectorAnalyzer{},
    		&virtualservice.ConflictingMeshGatewayHostsAnalyzer{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/analyzers_test.go

    		},
    	},
    	{
    		name: "Detect `image: auto` in non-injected pods",
    		inputFiles: []string{
    			"testdata/image-auto.yaml",
    		},
    		analyzer: &injection.ImageAutoAnalyzer{},
    		expected: []message{
    			{msg.ImageAutoWithoutInjectionWarning, "Deployment not-injected/non-injected-gateway-deployment"},
    			{msg.ImageAutoWithoutInjectionError, "Pod default/injected-pod"},
    		},
    	},
    	{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top