Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for _values (2.43 sec)

  1. operator/cmd/mesh/profile-dump_test.go

    		desc       string
    		configPath string
    	}{
    		{
    			desc: "all_off",
    		},
    		{
    			desc:       "config_path",
    			configPath: "components",
    		},
    		{
    			desc:       "list_path",
    			configPath: "values.gateways.istio-egressgateway.secretVolumes",
    		},
    	}
    	installPackagePathRegex := regexp.MustCompile("  installPackagePath: .*")
    	for _, tt := range tests {
    		t.Run(tt.desc, func(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 20 11:44:25 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  2. istioctl/pkg/checkinject/checkinject.go

    					}
    				case metav1.LabelSelectorOpNotIn:
    					v, ok := podLabels[me.Key]
    					if !ok {
    						continue
    					}
    					for _, nv := range me.Values {
    						if nv == v {
    							return fmt.Sprintf("Pod has %s=%s label, preventing injection", me.Key, v), false
    						}
    					}
    				}
    			}
    		} else if podMatched {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. istioctl/pkg/clioptions/central.go

    	cmd.PersistentFlags().BoolVar(&o.Plaintext, "plaintext", viper.GetBool("PLAINTEXT"),
    		"Use plain-text HTTP/2 when connecting to server (no TLS).")
    }
    
    // ValidateControlPlaneFlags checks arguments for valid values and combinations
    func (o *CentralControlPlaneOptions) ValidateControlPlaneFlags() error {
    	if o.Xds != "" && o.XdsPodLabel != "" {
    		return fmt.Errorf("either --xds-address or --xds-label, not both")
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  4. operator/cmd/mesh/profile-dump.go

    }
    
    func profileDumpCmd(pdArgs *profileDumpArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "dump [<profile>]",
    		Short: "Dumps an Istio configuration profile",
    		Long:  "The dump subcommand dumps the values in an Istio configuration profile.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) > 1 {
    				return fmt.Errorf("too many positional arguments")
    			}
    			return nil
    		},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. istioctl/cmd/sysexits.go

    // limitations under the License.
    
    package cmd
    
    import (
    	"strings"
    
    	"istio.io/istio/istioctl/pkg/analyze"
    	"istio.io/istio/istioctl/pkg/util"
    )
    
    // Values should try to use sendmail-style values as in <sysexits.h>
    // See e.g. https://man.openbsd.org/sysexits.3
    // or `less /usr/includes/sysexits.h` if you're on Linux
    //
    // Picking the right range is tricky--there are a lot of reserved ones (see
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/ztunnel/configdump/policies.go

    func (c *ConfigWriter) PrintPolicySummary(filter PolicyFilter) error {
    	w := c.tabwriter()
    	zDump := c.ztunnelDump
    
    	pols := slices.Filter(maps.Values(zDump.Policies), filter.Verify)
    	slices.SortFunc(pols, func(a, b *ZtunnelPolicy) int {
    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Name, b.Name)
    	})
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. operator/cmd/mesh/manifest-generate.go

    	// EnableClusterSpecific determines if the current Kubernetes cluster will be used to autodetect values.
    	// If false, generic defaults will be used. This is useful when generating once and then applying later.
    	EnableClusterSpecific bool
    
    	// Set is a string with element format "path=value" where path is an IstioOperator path and the value is a
    	// value to set the node at that path to.
    	Set []string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  8. operator/cmd/mesh/operator-init.go

    	vals, mstr, err := renderOperatorManifest(args, &oiArgs.common)
    	if err != nil {
    		l.LogAndFatal(err)
    	}
    
    	installerScope.Debugf("Installing operator charts with the following values:\n%s", vals)
    	installerScope.Debugf("Using the following manifest to install operator:\n%s\n", mstr)
    
    	opts := &applyOptions{
    		DryRun: args.DryRun,
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. operator/cmd/mesh/manifest-generate_test.go

    	}
    }
    
    func TestBareValues(t *testing.T) {
    	inPathBase := filepath.Join(testDataDir, "input/bare_values.yaml")
    	// As long as the generate doesn't panic, we pass it.  bare_values.yaml doesn't
    	// overlay well because JSON doesn't handle null values, and our charts
    	// don't expect values to be blown away.
    	_, _ = runManifestGenerate([]string{inPathBase}, "", liveCharts, []string{"templates/deployment.yaml"})
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  10. istioctl/pkg/kubeinject/kubeinject.go

    			return "", nil, fmt.Errorf("validation errors: \n%s", err)
    		}
    		if err != nil {
    			return "", nil, err
    		}
    		if iop.Spec.Values != nil {
    			values, err := protomarshal.ToJSON(iop.Spec.Values)
    			if err != nil {
    				return "", nil, err
    			}
    			valuesConfig = values
    		}
    		if iop.Spec.MeshConfig != nil {
    			meshConfigYaml, err := protomarshal.ToYAML(iop.Spec.MeshConfig)
    			if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
Back to top