- Sort Score
- Result 10 results
- Languages All
Results 31 - 35 of 35 for IstioNamespace (0.13 sec)
-
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) -
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) -
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) -
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) -
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)