Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for admitv1 (0.22 sec)

  1. istioctl/pkg/tag/tag_test.go

    		tag              string
    		webhooksBefore   admitv1.MutatingWebhookConfigurationList
    		webhooksAfter    admitv1.MutatingWebhookConfigurationList
    		namespaces       corev1.NamespaceList
    		outputMatches    []string
    		skipConfirmation bool
    		error            string
    	}{
    		{
    			name: "TestSimpleRemove",
    			tag:  "sample",
    			webhooksBefore: admitv1.MutatingWebhookConfigurationList{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/generate_test.go

    			Name:   "istio-sidecar-injector",
    			Labels: map[string]string{label.IoIstioRev.Name: "default"},
    		},
    		Webhooks: []admitv1.MutatingWebhook{
    			{
    				Name: fmt.Sprintf("namespace.%s", istioInjectionWebhookSuffix),
    				ClientConfig: admitv1.WebhookClientConfig{
    					Service: &admitv1.ServiceReference{
    						Namespace: "default",
    						Name:      "istiod",
    					},
    					CABundle: []byte("ca"),
    				},
    			},
    			{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. istioctl/pkg/tag/generate.go

    		return nil, err
    	}
    	if vwh == nil {
    		return whConfig, nil
    	}
    	if whConfig.FailurePolicy == nil {
    		whConfig.FailurePolicy = map[string]*admitv1.FailurePolicyType{}
    	}
    	for _, wh := range vwh.Webhooks {
    		if wh.FailurePolicy != nil && *wh.FailurePolicy == admitv1.Fail {
    			whConfig.FailurePolicy[wh.Name] = nil
    		} else {
    			whConfig.FailurePolicy[wh.Name] = wh.FailurePolicy
    		}
    	}
    	return whConfig, nil
    }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. istioctl/pkg/checkinject/checkinject.go

    				return matched, fmt.Sprintf("%s=%s", me.Key, v)
    			}
    		}
    	}
    	return matched, ""
    }
    
    func extractRevision(wh *admitv1.MutatingWebhookConfiguration) string {
    	return wh.GetLabels()[label.IoIstioRev.Name]
    }
    
    func isIstioWebhook(wh *admitv1.MutatingWebhookConfiguration) bool {
    	for _, w := range wh.Webhooks {
    		if strings.HasSuffix(w.Name, "istio.io") {
    			return true
    		}
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/util.go

    import (
    	"context"
    	"fmt"
    
    	"github.com/hashicorp/go-multierror"
    	admitv1 "k8s.io/api/admissionregistration/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/client-go/kubernetes"
    
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/util"
    )
    
    func GetRevisionWebhooks(ctx context.Context, client kubernetes.Interface) ([]admitv1.MutatingWebhookConfiguration, error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. istioctl/pkg/injector/injector-list.go

    			fmt.Fprintf(w, "%s\t%s\t%s\t%s\n", namespace.Name, hook.Name, revision, injectedImages[revision])
    		}
    	}
    	return w.Flush()
    }
    
    func getInjector(namespace *corev1.Namespace, hooks []admitv1.MutatingWebhookConfiguration) *admitv1.MutatingWebhookConfiguration {
    	// find matching hook
    	for _, hook := range hooks {
    		for _, webhook := range hook.Webhooks {
    			nsSelector, err := metav1.LabelSelectorAsSelector(webhook.NamespaceSelector)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Oct 18 11:39:52 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. istioctl/pkg/tag/revision.go

    			}
    		}
    	}
    
    	return revisions, nil
    }
    
    func Webhooks(ctx context.Context, client kube.CLIClient) ([]admitv1.MutatingWebhookConfiguration, error) {
    	hooks, err := client.Kube().AdmissionregistrationV1().MutatingWebhookConfigurations().List(ctx, metav1.ListOptions{})
    	if err != nil {
    		return []admitv1.MutatingWebhookConfiguration{}, err
    	}
    	return hooks.Items, nil
    }
    
    func renderWithDefault(s, def string) string {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. istioctl/pkg/checkinject/checkinject_test.go

    		"testdata/check-inject/rev-16-injector.yaml",
    		"testdata/check-inject/never-match-injector.yaml",
    	}
    	var whs []admitv1.MutatingWebhookConfiguration
    	for _, whName := range whFiles {
    		file, err := os.ReadFile(whName)
    		if err != nil {
    			t.Fatal(err)
    		}
    		var wh *admitv1.MutatingWebhookConfiguration
    		if err := yaml.Unmarshal(file, &wh); err != nil {
    			t.Fatal(err)
    		}
    		whs = append(whs, *wh)
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. docs/es/README.md

    7/admin/webconfig-guide.html), [sistema de archivos](https://fess.codelibs.org/14.17/admin/fileconfig-guide.html), o [almacenamiento de datos](https://fess.codelibs.org/14.17/admin/dataconfig-guide.html) (como un archivo CSV o base de datos). Se admiten muchos formatos de archivos, incluidos (pero no limitados a): Microsoft Office, PDF y zip.
    
    *[Fess Site Search](https://github.com/codelibs/fess-site-search)* es una alternativa gratuita a [Google Site Search](https://enterprise.google.co...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 07:19:47 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/configdump.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package configdump
    
    import (
    	"fmt"
    	"io"
    	"strings"
    	"text/tabwriter"
    
    	adminv3 "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    	sdscompare "istio.io/istio/istioctl/pkg/writer/compare/sds"
    	"istio.io/istio/pkg/util/protomarshal"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Feb 29 20:46:41 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top