Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for CNIConfig (0.24 sec)

  1. cni/pkg/install/cniconfig.go

    Ben Leggett <******@****.***> 1716316321 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. cni/pkg/util/pluginutil.go

    	return
    }
    
    // Marshal the CNI config map and append a new line
    func MarshalCNIConfig(cniConfigMap map[string]any) ([]byte, error) {
    	cniConfig, err := json.MarshalIndent(cniConfigMap, "", "  ")
    	if err != nil {
    		return nil, err
    	}
    	cniConfig = append(cniConfig, "\n"...)
    	return cniConfig, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. operator/pkg/validate/validate_values_test.go

        excludeInboundPorts: "333,444"
        clusterDomain: "my.domain"
        lifecycle:
          preStop:
            exec:
              command: ["/bin/sh", "-c", "sleep 30"]
    `,
    		},
    		{
    			desc: "CNIConfig",
    			yamlStr: `
    cni:
      cniBinDir: "/var/lib/cni/bin"
      cniConfDir: "/var/run/multus/cni/net.d"
    `,
    		},
    
    		{
    			desc: "BadIPRange",
    			yamlStr: `
    global:
      proxy:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 13:43:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. operator/pkg/util/merge_iop.go

    	Label map[string]string                 `json:"label" patchStrategy:"merge"`
    	K8S   *v1alpha1.KubernetesResourcesSpec `json:"k8s" patchStrategy:"merge"`
    }
    
    type values struct {
    	Cni                    *v1alpha12.CNIConfig             `json:"cni" patchStrategy:"merge"`
    	Gateways               *gatewaysConfig                  `json:"gateways" patchStrategy:"merge"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 18:21:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. operator/pkg/apis/istio/v1alpha1/values_types.pb.go

    	56,  // 0: v1alpha1.CNIConfig.enabled:type_name -> google.protobuf.BoolValue
    	57,  // 1: v1alpha1.CNIConfig.tag:type_name -> google.protobuf.Value
    	58,  // 2: v1alpha1.CNIConfig.affinity:type_name -> k8s.io.api.core.v1.Affinity
    	59,  // 3: v1alpha1.CNIConfig.podAnnotations:type_name -> google.protobuf.Struct
    	7,   // 4: v1alpha1.CNIConfig.repair:type_name -> v1alpha1.CNIRepairConfig
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 329.6K bytes
    - Viewed (0)
  6. cni/pkg/install/install.go

    					cniConfigMap["plugins"] = append(plugins[:i], plugins[i+1:]...)
    					break
    				}
    			}
    
    			cniConfig, err := util.MarshalCNIConfig(cniConfigMap)
    			if err != nil {
    				return err
    			}
    			if err = file.AtomicWrite(in.cniConfigFilepath, cniConfig, os.FileMode(0o644)); err != nil {
    				return err
    			}
    		} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. cni/test/install_cni.go

    		}
    		if plugin["type"] == "istio-cni" {
    			cniConfigMap["plugins"] = append(plugins[:i], plugins[i+1:]...)
    			break
    		}
    	}
    
    	cniConfig, err := util.MarshalCNIConfig(cniConfigMap)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if err = file.AtomicWrite(cniConfigFilepath, cniConfig, os.FileMode(0o644)); err != nil {
    		t.Fatal(err)
    	}
    }
    
    // populateTempDirs populates temporary test directories with golden files and
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. operator/pkg/apis/istio/v1alpha1/validation/validation_test.go

    	}{
    		{
    			name:       "Empty struct",
    			toValidate: &v1alpha1.Values{},
    			validated:  true,
    		},
    		{
    			name: "With CNI defined",
    			toValidate: &v1alpha1.Values{
    				Cni: &v1alpha1.CNIConfig{
    					Enabled: &wrappers.BoolValue{Value: true},
    				},
    			},
    			validated: true,
    		},
    	}
    
    	for _, tt := range tests {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 23 09:10:55 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. operator/pkg/apis/istio/v1alpha1/values_types.proto

      uint32 ppc64le = 2;
    
      // Sets pod scheduling weight for s390x arch.
      uint32 s390x = 3;
    
      // Sets pod scheduling weight for arm64 arch.
      uint32 arm64 = 4;
    }
    
    // Configuration for CNI.
    message CNIConfig {
      // Controls whether CNI is installed.
      google.protobuf.BoolValue enabled = 1;
    
      // Hub to pull the container image from. Image will be `Hub/Image:Tag-Variant`.
      string hub = 2;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 57.2K bytes
    - Viewed (0)
Back to top