Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for injectConfigFile (0.07 sec)

  1. istioctl/pkg/kubeinject/kubeinject_test.go

    				"--meshConfigFile testdata/mesh-config.yaml"+
    					" --injectConfigFile testdata/inject-config.yaml -f testdata/deployment/hello.yaml"+
    					" --valuesFile testdata/inject-values.yaml",
    				" "),
    			GoldenFilename: "testdata/deployment/hello.yaml.injected",
    		},
    		{ // case 3
    			Args: strings.Split(
    				"--meshConfigFile testdata/mesh-config.yaml"+
    					" --injectConfigFile testdata/inject-config-inline.yaml -f testdata/deployment/hello.yaml"+
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. istioctl/pkg/kubeinject/kubeinject.go

    			}
    		}
    	}
    
    	injector := &ExternalInjector{}
    	if injectConfigFile != "" {
    		injectionConfig, err := os.ReadFile(injectConfigFile) // nolint: vetshadow
    		if err != nil {
    			return nil, nil, err
    		}
    		injectConfig, err := readInjectConfigFile(injectionConfig)
    		if err != nil {
    			return nil, nil, multierror.Append(err, fmt.Errorf("loading --injectConfigFile"))
    		}
    		*sidecarTemplate = injectConfig
    	} else {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top