- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for admitv1 (0.18 sec)
-
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{
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Nov 17 22:41:06 GMT 2023 - 8.7K bytes - Viewed (0) -
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 } }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
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"), }, }, {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 12.1K bytes - Viewed (0) -
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 }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 13.2K bytes - Viewed (0) -
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) {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Jan 16 17:43:42 GMT 2024 - 5.4K bytes - Viewed (1) -
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)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jan 04 03:08:06 GMT 2024 - 10.4K bytes - Viewed (0) -
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 {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Jan 28 13:16:05 GMT 2023 - 4.5K bytes - Viewed (0) -
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) }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 10.6K bytes - Viewed (0) -
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"
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Feb 29 20:46:41 GMT 2024 - 7.4K bytes - Viewed (0) -
docs/multi-user/admin/README.md
### 3. Configure `mc` and create another user user1 with attached policy user1policy ``` mc alias set myminio-admin1 http://localhost:9000 admin1 admin123 --api s3v4 mc admin user add myminio-admin1 user1 user123 mc admin policy attach myminio-admin1 user1policy ~/user1policy.json mc admin policy attach myminio-admin1 user1policy --user=user1 ``` ### 4. List of permissions defined for admin operations
Plain Text - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Mar 21 06:38:06 GMT 2023 - 4.5K bytes - Viewed (0)