Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for cniVersion (0.1 sec)

  1. cni/pkg/install/testdata/bridge.conf

    {
      "cniVersion": "0.4.0",
      "name": "dbnet",
      "type": "bridge",
      "bridge": "cni0",
      "ipam": {
        "type": "host-local",
        "subnet": "10.1.0.0/16",
        "gateway": "10.1.0.1"
      },
      "dns": {
        "nameservers": [ "10.1.0.1" ]
      }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 01 20:47:54 UTC 2021
    - 235 bytes
    - Viewed (0)
  2. cni/pkg/install/cniconfig.go

    	if err != nil {
    		return nil, fmt.Errorf("error loading existing CNI config (JSON error): %v", err)
    	}
    
    	delete(istioMap, "cniVersion")
    
    	var newMap map[string]any
    
    	if _, ok := existingMap["type"]; ok {
    		// Assume it is a regular network conf file
    		delete(existingMap, "cniVersion")
    
    		plugins := make([]map[string]any, 2)
    		plugins[0] = existingMap
    		plugins[1] = istioMap
    
    		newMap = map[string]any{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. cni/pkg/install/testdata/list-with-istio.conflist.golden

    {
      "cniVersion": "0.4.0",
      "name": "dbnet",
      "plugins": [
        {
          "args": {
            "labels": {
              "appVersion": "1.0"
            }
          },
          "bridge": "cni0",
          "dns": {
            "nameservers": [
              "10.1.0.1"
            ]
          },
          "ipam": {
            "gateway": "10.1.0.1",
            "subnet": "10.1.0.0/16",
            "type": "host-local"
          },
          "type": "bridge"
        },
        {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 776 bytes
    - Viewed (0)
  4. cni/test/testdata/expected/10-calico.conflist-istioconfig

    {
      "cniVersion": "0.3.1",
      "name": "k8s-pod-network",
      "plugins": [
        {
          "etcd_endpoints": "http://10.110.0.136:6666",
          "ipam": {
            "type": "calico-ipam"
          },
          "kubernetes": {
            "kubeconfig": "/etc/cni/net.d/calico-kubeconfig"
          },
          "mtu": 1500,
          "plugin_log_level": "info",
          "policy": {
            "type": "k8s"
          },
          "type": "calico"
        },
        {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 793 bytes
    - Viewed (0)
  5. cni/pkg/install/testdata/istio-cni.conf.template

    {
      "cniVersion": "0.3.1",
      "name": "istio-cni",
      "type": "istio-cni",
      "plugin_log_level": "__LOG_LEVEL__",
      "kubernetes": {
          "kubeconfig": "__KUBECONFIG_FILENAME__",
          "cni_bin_dir": "/path/cni/bin"
      }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 220 bytes
    - Viewed (0)
  6. cni/pkg/install/testdata/list.conflist

    {
      "cniVersion": "0.4.0",
      "name": "dbnet",
      "plugins": [
        {
          "type": "bridge",
          "bridge": "cni0",
          "args": {
            "labels" : {
                "appVersion" : "1.0"
            }
          },
          "ipam": {
            "type": "host-local",
            "subnet": "10.1.0.0/16",
            "gateway": "10.1.0.1"
          },
          "dns": {
            "nameservers": [ "10.1.0.1" ]
          }
        },
        {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 01 20:47:54 UTC 2021
    - 494 bytes
    - Viewed (0)
  7. cni/pkg/install/testdata/list.conflist.golden

    {
      "cniVersion": "0.4.0",
      "name": "dbnet",
      "plugins": [
        {
          "args": {
            "labels": {
              "appVersion": "1.0"
            }
          },
          "bridge": "cni0",
          "dns": {
            "nameservers": [
              "10.1.0.1"
            ]
          },
          "ipam": {
            "gateway": "10.1.0.1",
            "subnet": "10.1.0.0/16",
            "type": "host-local"
          },
          "type": "bridge"
        },
        {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 776 bytes
    - Viewed (0)
  8. cni/pkg/install/testdata/istio-cni.conf

    {
      "cniVersion": "0.3.1",
      "name": "istio-cni",
      "type": "istio-cni",
      "ipam": {},
      "dns": {},
      "plugin_log_level": "debug",
      "cni_agent_run_dir": "/path/to/kubeconfig",
      "ambient_enabled": false,
      "exclude_namespaces": [
        ""
      ]
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 244 bytes
    - Viewed (0)
  9. cni/pkg/install/testdata/list-no-istio.conflist

    {
      "cniVersion": "0.4.0",
      "name": "dbnet",
      "plugins": [
        {
          "args": {
            "labels": {
              "appVersion": "1.0"
            }
          },
          "bridge": "cni0",
          "dns": {
            "nameservers": [
              "10.1.0.1"
            ]
          },
          "ipam": {
            "gateway": "10.1.0.1",
            "subnet": "10.1.0.0/16",
            "type": "host-local"
          },
          "type": "bridge"
        },
        {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 01 20:47:54 UTC 2021
    - 508 bytes
    - Viewed (0)
  10. cni/test/testdata/pre/calico.conflist

    {
      "cniVersion": "0.3.1",
      "name": "k8s-pod-network",
      "plugins": [
        {
          "etcd_endpoints": "http://10.110.0.136:6666",
          "ipam": {
            "type": "calico-ipam"
          },
          "kubernetes": {
            "kubeconfig": "/etc/cni/net.d/calico-kubeconfig"
          },
          "mtu": 1500,
          "plugin_log_level": "info",
          "policy": {
            "type": "k8s"
          },
          "type": "calico"
        },
        {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 528 bytes
    - Viewed (0)
Back to top