Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for conj (0.13 sec)

  1. cni/pkg/install/install_test.go

    			expectedFailure:   true,
    			cniConfigFilename: "bridge.conf",
    			existingConfFiles: map[string]string{"bridge.conf": "bridge.conf"},
    		},
    		{
    			name:              "standalone CNI plugin",
    			cniConfigFilename: "istio-cni.conf",
    			existingConfFiles: map[string]string{"istio-cni.conf": "istio-cni.conf"},
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  2. istioctl/pkg/waypoint/waypoint.go

    					if err == nil {
    						// Check if gateway has Programmed condition set to true
    						for _, cond := range gwc.Status.Conditions {
    							if cond.Type == string(gateway.GatewayConditionProgrammed) && string(cond.Status) == "True" {
    								programmed = true
    								break
    							}
    						}
    					}
    					if programmed {
    						break
    					}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  3. cni/README.md

            - CNI installer will try to look for the config file under the mounted CNI net dir based on file name extensions (`.conf`, `.conflist`)
            - the file name can be explicitly set by `CNI_CONF_NAME` env var
            - the program inserts `CNI_NETWORK_CONFIG` into the `plugins` list in `/etc/cni/net.d/${CNI_CONF_NAME}`
        - the actual code is in pkg/install - including a readiness probe, monitoring.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. common/scripts/kind_provisioner.sh

          printf '%s' "${original_coredns}" | sed \
            -e 's/^.*kubernetes cluster\.local/& internal/' \
            -e '/^.*upstream$/d' \
            -e '/^.*fallthrough.*$/d' \
            -e '/^.*forward . \/etc\/resolv.conf$/d' \
            -e '/^.*loop$/d' \
        )
        echo "Patched CoreDNS config:"
        echo "${fixed_coredns}"
        printf '%s' "${fixed_coredns}" | kubectl apply -f -
      fi
    }
    
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  5. cni/pkg/nodeagent/ztunnelserver.go

    	defer conn.Close()
    
    	context.AfterFunc(ctx, func() {
    		log.Debug("context cancelled - closing conn")
    		conn.Close()
    	})
    
    	// before doing anything, add the connection to the list of active connections
    	z.conns.addConn(conn)
    	defer z.conns.deleteConn(conn)
    
    	// get hello message from ztunnel
    	m, _, err := readProto[zdsapi.ZdsHello](conn.u, readWriteDeadline, nil)
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  6. cni/pkg/install/cniconfig.go

    				continue
    			}
    		} else {
    			conf, err := libcni.ConfFromFile(confFile)
    			if err != nil {
    				installLog.Warnf("Error loading CNI config file %s: %v", confFile, err)
    				continue
    			}
    			// Ensure the config has a "type" so we know what plugin to run.
    			// Also catches the case where somebody put a conflist into a conf file.
    			if conf.Network.Type == "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  7. cni/test/install_cni.go

    	expectedPostCleanFile, tempCNIConfDir, tempCNIBinDir, tempK8sSvcAcctDir string,
    ) {
    	t.Logf("prior cni-conf='%v', expected result='%v'", preConfFile, resultFileName)
    
    	// Don't set the CNI conf file env var if preConfFile is not set
    	var envPreconf string
    	if preConfFile != "" {
    		envPreconf = preConfFile
    	} else {
    		preConfFile = resultFileName
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  8. cni/pkg/plugin/plugin_test.go

    	args := buildCmdArgs(stdinData, testPodName, testNSName)
    
    	conf, err := parseConfig(args.StdinData)
    	if err != nil {
    		t.Fatalf("config parse failed with error: %v", err)
    	}
    
    	// Create a kube client
    	client := kube.NewFakeClient(objects...)
    
    	mockRedir := &mockInterceptRuleMgr{}
    	err = doAddRun(args, conf, client.Kube(), mockRedir)
    	if err == nil {
    		t.Fatal("expected to fail, but did not!")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  9. cni/pkg/plugin/plugin.go

    	}
    	return pluginResponse(conf)
    }
    
    func doAddRun(args *skel.CmdArgs, conf *Config, kClient kubernetes.Interface, rulesMgr InterceptRuleMgr) error {
    	setupLogging(conf)
    
    	var loggedPrevResult any
    	if conf.PrevResult == nil {
    		loggedPrevResult = "none"
    	} else {
    		loggedPrevResult = conf.PrevResult
    	}
    	log.WithLabels("if", args.IfName).Debugf("istio-cni CmdAdd config: %+v", conf)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. cni/pkg/install/cniconfig_test.go

    		},
    		{
    			name:             "standalone CNI plugin unspecified CNI config file",
    			expectedConfName: "YYY-istio-cni.conf",
    			goldenConfName:   "istio-cni.conf",
    		},
    		{
    			name:              "standalone CNI plugin specified CNI config file",
    			specifiedConfName: "specific-name.conf",
    			expectedConfName:  "specific-name.conf",
    			goldenConfName:    "istio-cni.conf",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
Back to top