Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetKeyValues (0.31 sec)

  1. pilot/pkg/networking/core/extension/wasmplugin.go

    	// agent will extract out the secret from env variable, use it for image pulling, and strip the
    	// env variable from VM config before forwarding it to envoy.
    	envs := pluginConfig.GetVmConfig().GetEnvironmentVariables().GetKeyValues()
    	secretName := envs[model.WasmSecretEnv]
    	if secretName != "" {
    		if sec, found := pullSecrets[secretName]; found {
    			envs[model.WasmSecretEnv] = string(sec)
    		} else {
    			envs[model.WasmSecretEnv] = ""
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. pilot/pkg/xds/ecds_test.go

    				ec := &core.TypedExtensionConfig{}
    				res.Resource.UnmarshalTo(ec)
    				wasm := &wasm.Wasm{}
    				ec.TypedConfig.UnmarshalTo(wasm)
    				gotsecret := wasm.GetConfig().GetVmConfig().GetEnvironmentVariables().GetKeyValues()[model.WasmSecretEnv]
    				if gotsecret != "" {
    					gotSecrets.Insert(gotsecret)
    				}
    			}
    			if !reflect.DeepEqual(gotSecrets, tt.wantSecrets) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top