Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for cniVersion (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. cni/pkg/install/testdata/bridge.conf.golden

    {
      "cniVersion": "0.3.1",
      "name": "k8s-pod-network",
      "plugins": [
        {
          "bridge": "cni0",
          "dns": {
            "nameservers": [
              "10.1.0.1"
            ]
          },
          "ipam": {
            "gateway": "10.1.0.1",
            "subnet": "10.1.0.0/16",
            "type": "host-local"
          },
          "name": "dbnet",
          "type": "bridge"
        },
        {
          "ambient_enabled": false,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 625 bytes
    - Viewed (0)
  9. cni/test/testdata/expected/minikube_cni.conflist.expected

    {
      "cniVersion": "0.3.1",
      "name": "k8s-pod-network",
      "plugins": [
        {
          "addIf": "true",
          "bridge": "mybridge",
          "ipMasq": true,
          "ipam": {
            "gateway": "10.1.0.1",
            "routes": [
              {
                "dst": "0.0.0.0/0"
              }
            ],
            "subnet": "10.1.0.0/16",
            "type": "host-local"
          },
          "isGateway": true,
          "mtu": 1460,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 733 bytes
    - Viewed (0)
  10. cni/pkg/install/testdata/istio-cni-prefixed.conf

    {
      "cniVersion": "0.3.1",
      "name": "istio-cni",
      "type": "prefix-istio-cni",
      "plugin_log_level": "debug",
      "kubernetes": {
          "kubeconfig": "/path/to/kubeconfig",
          "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
    - 215 bytes
    - Viewed (0)
Back to top