Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for istioNamespace (0.09 sec)

  1. istioctl/cmd/root.go

    	// Ignore errors reading the configuration unless the file is explicitly customized
    	if root.IstioConfig != defaultIstioctlConfig {
    		return err
    	}
    
    	return nil
    }
    
    func init() {
    	viper.SetDefault("istioNamespace", constants.IstioSystemNamespace)
    	viper.SetDefault("xds-port", 15012)
    }
    
    // GetRootCmd returns the root of the cobra command-tree.
    func GetRootCmd(args []string) *cobra.Command {
    	rootCmd := &cobra.Command{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Aug 05 02:08:47 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. istioctl/pkg/workload/workload_test.go

    	t.Helper()
    	// TODO there is already probably something else that does this
    	var out bytes.Buffer
    	ctx := cli.NewFakeContext(&cli.NewFakeContextOption{
    		IstioNamespace: "istio-system",
    	})
    	rootCmd := Cmd(ctx)
    	rootCmd.SetArgs(args)
    	client, err := ctx.CLIClientWithRevision(rev)
    	if err != nil {
    		return "", err
    	}
    	createResourceFunc(client)
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate_test.go

    		},
    	}
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("[%v] %v", i, c.name), func(t *testing.T) {
    			ctx := cli.NewFakeContext(&cli.NewFakeContextOption{
    				IstioNamespace: "istio-system",
    			})
    			validateCmd := NewValidateCommand(ctx)
    			validateCmd.SilenceUsage = true
    			validateCmd.SetArgs(c.args)
    
    			// capture output to keep test logs clean
    			var out bytes.Buffer
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 02 16:18:14 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. istioctl/pkg/multicluster/remote_secret_test.go

    				KubeOptions: KubeOptions{
    					Namespace: testNamespace,
    				},
    				Type:       c.secType,
    				SecretName: c.secretName,
    			}
    
    			ctx := cli.NewFakeContext(&cli.NewFakeContextOption{
    				IstioNamespace: "istio-system",
    				Objects:        c.objs,
    				Namespace:      testNamespace,
    				Version:        c.k8sMinorVersion,
    			})
    			client, err := ctx.CLIClient()
    			if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  5. istioctl/pkg/multicluster/remote_secret.go

    	return client.ApplyYAMLContents(opt.Namespace, yaml)
    }
    
    func generateServiceAccountYAML(opt RemoteSecretOptions) (string, error) {
    	flags := []string{"installPackagePath=" + opt.ManifestsPath, "values.global.istioNamespace=" + opt.Namespace}
    	mfs, _, err := render.GenerateManifest(nil, flags, false, nil, nil)
    	if err != nil {
    		return "", err
    	}
    	included := []string{}
    	for _, mf := range mfs {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/testdata/vmconfig-nil-proxy-metadata/cluster.env.golden

    ISTIO_META_CLUSTER_ID='Kubernetes'
    ISTIO_META_DNS_CAPTURE='true'
    ISTIO_META_MESH_ID=''
    ISTIO_META_NETWORK=''
    ISTIO_META_WORKLOAD_NAME='foo'
    ISTIO_NAMESPACE='bar'
    ISTIO_SERVICE='foo.bar'
    ISTIO_SERVICE_CIDR='*'
    ISTIO_SVC_IP='10.10.10.10'
    POD_NAMESPACE='bar'
    SERVICE_ACCOUNT='vm-serviceaccount'
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 546 bytes
    - Viewed (0)
  7. istioctl/pkg/workload/testdata/vmconfig/ipv4/cluster.env.golden

    ISTIO_META_CLUSTER_ID='Kubernetes'
    ISTIO_META_DNS_CAPTURE='true'
    ISTIO_META_MESH_ID=''
    ISTIO_META_NETWORK=''
    ISTIO_META_WORKLOAD_NAME='foo'
    ISTIO_NAMESPACE='bar'
    ISTIO_SERVICE='foo.bar'
    ISTIO_SERVICE_CIDR='*'
    ISTIO_SVC_IP='10.10.10.10'
    POD_NAMESPACE='bar'
    PROXY_CONFIG_ANNOT_VALUE='bar'
    SERVICE_ACCOUNT='vm-serviceaccount'
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 655 bytes
    - Viewed (0)
  8. istioctl/pkg/workload/testdata/vmconfig/ipv6/cluster.env.golden

    ISTIO_META_CLUSTER_ID='Kubernetes'
    ISTIO_META_DNS_CAPTURE='true'
    ISTIO_META_MESH_ID=''
    ISTIO_META_NETWORK=''
    ISTIO_META_WORKLOAD_NAME='foo'
    ISTIO_NAMESPACE='bar'
    ISTIO_SERVICE='foo.bar'
    ISTIO_SERVICE_CIDR='*'
    ISTIO_SVC_IP='fd00:10:96::1'
    POD_NAMESPACE='bar'
    PROXY_CONFIG_ANNOT_VALUE='bar'
    SERVICE_ACCOUNT='vm-serviceaccount'
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 657 bytes
    - Viewed (0)
Back to top