Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 671 for if (0.18 sec)

  1. istioctl/pkg/writer/envoy/configdump/ecds.go

    func (c *ConfigWriter) PrintEcds(outputFormat string) error {
    	if c.configDump == nil {
    		return fmt.Errorf("config writer has not been primed")
    	}
    
    	dump, err := c.configDump.GetEcdsConfigDump()
    	if err != nil {
    		return err
    	}
    
    	out, err := protomarshal.MarshalIndentWithGlobalTypesResolver(dump, "    ")
    	if err != nil {
    		return err
    	}
    	if outputFormat == "yaml" {
    		if out, err = yaml.JSONToYAML(out); err != nil {
    			return err
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Jan 14 02:41:27 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  2. manifests/charts/istio-control/istio-discovery/templates/clusterrolebinding.yaml

        name: istiod{{- if not (eq .Values.revision "")}}-{{ .Values.revision }}{{- end }}
        namespace: {{ .Values.global.istioNamespace }}
    ---
    {{- if not (eq (toString .Values.pilot.env.PILOT_ENABLE_GATEWAY_API_DEPLOYMENT_CONTROLLER) "false") }}
    apiVersion: rbac.authorization.k8s.io/v1
    kind: ClusterRoleBinding
    metadata:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Oct 10 17:32:44 GMT 2021
    - 1.3K bytes
    - Viewed (0)
  3. istioctl/pkg/tag/util.go

    	if err != nil {
    		return err
    	}
    	if len(whs) == 0 {
    		// no revision with default, no action required.
    		return nil
    	}
    	if len(whs) > 1 {
    		return fmt.Errorf("expected a single webhook for default revision")
    	}
    	webhook := whs[0]
    	for i := range webhook.Webhooks {
    		wh := webhook.Webhooks[i]
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  4. istioctl/pkg/writer/compare/sds/util.go

    func (s *secretItemBuilder) Build() (SecretItem, error) {
    	result := SecretItem{
    		Name:        s.name,
    		Data:        s.data,
    		Source:      s.source,
    		Destination: s.dest,
    		State:       s.state,
    	}
    
    	var meta SecretMeta
    	var err error
    	if s.data != "" {
    		meta, err = secretMetaFromCert([]byte(s.data))
    		if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  5. bin/build_ztunnel.sh

      if [[ "${BUILD_ZTUNNEL_REPO:-}" == "" ]] && [[ "${BUILD_ZTUNNEL:-}" != "" ]]; then
        local ZTUNNEL_DIR
    	ZTUNNEL_DIR="$(pwd)/../ztunnel"
        if [[ -d "${ZTUNNEL_DIR}" ]]; then
          BUILD_ZTUNNEL_REPO="${ZTUNNEL_DIR}"
        else
          echo "No directory at ${ZTUNNEL_DIR}"
          return
        fi
      fi
      if [[ "${BUILD_ZTUNNEL_REPO:-}" == "" ]]; then
        return
      fi
    
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 21:46:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. istioctl/pkg/xds/google.go

    	ret, err := creds.GetRequestMetadata(ctx, uri...)
    	if err != nil {
    		return err
    	}
    	for k, v := range ret {
    		if !strings.EqualFold(k, "authorization") {
    			if _, ok := dst[k]; ok {
    				return fmt.Errorf("underlying %s credentials contain a %s header which is already present in the combined credentials", kind, k)
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Nov 14 20:23:34 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  7. bin/retry.sh

      local n=1
      local max=5
      while true; do
        unset SHELL # Don't let environment control which shell to use
        if isatty; then
          if [ "$(uname)" == "Darwin" ]; then
            script -q -r "${tmpFile}" "${*}"
          else
            script --flush --quiet --return "${tmpFile}" --command "${*}"
          fi
        else
          # if we aren't a TTY, run directly as script will always run with a tty, which may output content that
          # we cannot display
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 11 16:08:08 GMT 2021
    - 2K bytes
    - Viewed (0)
  8. istioctl/pkg/util/configdump/listener.go

    	listenerDump, err := w.GetListenerConfigDump()
    	if err != nil {
    		return nil, err
    	}
    
    	dal := make([]*admin.ListenersConfigDump_DynamicListener, 0)
    	for _, l := range listenerDump.DynamicListeners {
    		// If a listener was reloaded, it would contain both the active and draining state
    		// delete the draining state for proper comparison
    		l.DrainingState = nil
    		if l.ActiveState != nil {
    			dal = append(dal, l)
    		}
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.5K bytes
    - Viewed (1)
  9. manifests/charts/gateway/templates/_helpers.tpl

    "gateway.selectorLabels" . }} {{- range $key, $val := .Values.labels }} {{- if not (or (eq $key "app") (eq $key "istio")) }} {{ $key | quote }}: {{ $val | quote }} {{- end }} {{- end }} {{- end }} {{- define "gateway.selectorLabels" -}} {{- if hasKey .Values.labels "app" }} {{- with .Values.labels.app }}app: {{.|quote}} {{- end}} {{- else }}app: {{ include "gateway.name" . }} {{- end }} {{- if hasKey .Values.labels "istio" }} {{- with .Values.labels.istio }} istio: {{.|quote}} {{- end}} {{- else }} istio: {{...
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 06 16:57:46 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  10. manifests/charts/UPDATING-CHARTS.md

    eventually someone will want to customize every one of those fields.
    If all fields are exposed in `values.yaml`, we end up with an massive API that is also likely worse than just using the Kubernetes API directly.
    
    To avoid this, the project attempts to minimize additions to the `values.yaml` API where possible.
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jul 27 18:28:55 GMT 2023
    - 3.2K bytes
    - Viewed (0)
Back to top