Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for __KUBECONFIG_FILEPATH__ (7.96 sec)

  1. manifests/charts/istio-cni/templates/configmap-cni.yaml

              {{if .Values.cni.ambient.enabled}}"ambient_enabled": true,{{end}}
              "cni_event_address": "__CNI_EVENT_ADDRESS__",
              "kubernetes": {
                  "kubeconfig": "__KUBECONFIG_FILEPATH__",
                  "cni_bin_dir": {{ .Values.cni.cniBinDir | default $defaultBinDir | quote }},
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  2. cni/pkg/install/cniconfig.go

    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__KUBECONFIG_FILENAME__", vars.kubeconfigFilename)
    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__KUBECONFIG_FILEPATH__", filepath.Join(vars.cniNetDir, vars.kubeconfigFilename))
    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__KUBERNETES_SERVICE_HOST__", vars.k8sServiceHost)
    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)
  3. cni/test/install_cni.go

    	cniNetworkConfigName = "CNI_NETWORK_CONFIG"
    	cniNetworkConfig     = `{
      "cniVersion": "0.3.1",
      "type": "istio-cni",
      "log_level": "info",
      "kubernetes": {
          "kubeconfig": "__KUBECONFIG_FILEPATH__",
          "cni_bin_dir": "/opt/cni/bin",
          "exclude_namespaces": [ "istio-system" ]
      }
    }
    `
    )
    
    func getEnv(key, fallback string) string {
    	if value, ok := os.LookupEnv(key); ok {
    		return value
    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)
  4. cni/pkg/install/cniconfig_test.go

    	}
    }
    
    const (
    	// For testing purposes, set kubeconfigFilename equivalent to the path in the test files and use __KUBECONFIG_FILENAME__
    	// CreateCNIConfigFile joins the MountedCNINetDir and KubeconfigFilename if __KUBECONFIG_FILEPATH__ was used
    	kubeconfigFilename   = "/path/to/kubeconfig"
    	cniNetworkConfigFile = "testdata/istio-cni.conf.template"
    	cniNetworkConfig     = `{
      "cniVersion": "0.3.1",
      "name": "istio-cni",
    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)
  5. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    "cniVersion": "0.3.1", "name": "istio-cni", "type": "istio-cni", "log_level": {{ quote .Values.cni.logLevel }}, "log_uds_address": "__LOG_UDS_ADDRESS__", {{if .Values.cni.ambient.enabled}}"ambient_enabled": true,{{end}} "kubernetes": { "kubeconfig": "__KUBECONFIG_FILEPATH__", "cni_bin_dir": {{ .Values.cni.cniBinDir | default $defaultBinDir | quote }}, "exclude_namespaces": [ {{ range $idx, $ns := .Values.cni.excludeNamespaces }}{{ if $idx }}, {{ end }}{{ quote $ns }}{{ end }} ] } } manifests/charts/istio-cni...
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 198.1K bytes
    - Viewed (1)
Back to top