- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for injection (0.18 sec)
-
istioctl/pkg/checkinject/checkinject.go
istioctl x check-inject deployment/details-v1 # Check the injection status of a pod under a deployment in namespace test istioctl x check-inject deployment/details-v1 -n test # Check the injection status of label pairs in a specific namespace before actual injection istioctl x check-inject -n test -l app=helloworld,version=v1 `, Args: func(cmd *cobra.Command, args []string) error {
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) -
istioctl/pkg/checkinject/checkinject_test.go
}, { Name: "istio-sidecar-injector-1-16", Revision: "1-16", Injected: false, Reason: "Namespace has istio-injection=disabled label, preventing injection", }, { Name: "istio-sidecar-injector-deactivated", Revision: "default", Reason: "The injection webhook is deactivated, and will never match labels.", }, },
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 10.6K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
injector := getInjector(namespace, hooks) if injector != nil { return injector.ObjectMeta.GetLabels()[label.IoIstioRev.Name] } newRev := namespace.ObjectMeta.GetLabels()[label.IoIstioRev.Name] oldLabel, ok := namespace.ObjectMeta.GetLabels()[analyzer_util.InjectionLabelName] // If there is no istio-injection=disabled and no istio.io/rev, the namespace isn't injected
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jan 04 03:08:06 GMT 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/util/ambient/util.go
return false } switch t := obj.(type) { case *corev1.Pod: return t.GetAnnotations()[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled case *corev1.Namespace: if t.GetLabels()["istio-injection"] == "enabled" { return false } if v, ok := t.GetLabels()[label.IoIstioRev.Name]; ok && v != "" { return false } return t.GetLabels()[constants.DataplaneModeLabel] == constants.DataplaneModeAmbient }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 1.7K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
revLabel := klabels.Set{"istio.io/rev": "canary"} legacyAndRevLabel := klabels.Set{"istio-injection": "enabled", "istio.io/rev": "canary"} legacyDisabledAndRevLabel := klabels.Set{"istio-injection": "disabled", "istio.io/rev": "canary"} legacyLabel := klabels.Set{"istio-injection": "enabled"} legacyLabelDisabled := klabels.Set{"istio-injection": "disabled"} objEnabled := klabels.Set{"sidecar.istio.io/inject": "true"}
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) -
istioctl/pkg/injector/injector-list_test.go
constants.DataplaneModeLabel: constants.DataplaneModeAmbient, }), createNamespace("no-ambient", map[string]string{ constants.DataplaneModeLabel: constants.DataplaneModeAmbient, "istio-injection": "enabled", }), } client := kube.NewFakeClient(nss...) expected := sets.New[string]("default", "no-ambient") actual, err := getNamespaces(context.TODO(), client, "istio-system")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 2.9K bytes - Viewed (0) -
logger/sql.go
return true default: return false } } // ExplainSQL generate SQL string with given parameters, the generated SQL is expected to be used in logger, execute it might introduce a SQL injection vulnerability func ExplainSQL(sql string, numericPlaceholder *regexp.Regexp, escaper string, avars ...interface{}) string { var ( convertParams func(interface{}, int) vars = make([]string, len(avars)) )
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Mar 21 08:00:02 GMT 2024 - 5K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
} *sidecarTemplate = injectConfig } else { injector, err = setUpExternalInjector(cliContext, revision, injectorAddress) if err != nil || injector.clientConfig == nil { log.Warnf("failed to get injection config from mutatingWebhookConfigurations %q, will fall back to "+ "get injection from the injection configmap %q : %v", whcName, defaultInjectWebhookConfigName, err)
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) -
cni/pkg/plugin/sidecar_redirect.go
if valErr != nil { return nil, fmt.Errorf("annotation value error for value %s; annotationFound = %t: %v", "includeOutboundPorts", isFound, valErr) } // Add 15090 to sync with non-cni injection template // TODO: Revert below once https://github.com/istio/istio/pull/23037 or its follow up is merged. redir.excludeInboundPorts = strings.TrimSpace(redir.excludeInboundPorts)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.6K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
sort.Strings(lines) return strings.Join(lines, "\n") + "\n" } // extractClusterIDFromInjectionConfig can extract clusterID from injection configmap func extractClusterIDFromInjectionConfig(kubeClient kube.CLIClient, istioNamespace string) (string, error) { injectionConfigMap := "istio-sidecar-injector" // Case with multiple control planes revision := kubeClient.Revision() if isRevisioned(revision) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 17 20:06:41 GMT 2024 - 25.5K bytes - Viewed (0)