- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for WorkloadSelector (0.41 sec)
-
pkg/config/analysis/analyzers/sidecar/selector.go
// record namespace-scoped sidecars if s.WorkloadSelector == nil || len(s.WorkloadSelector.Labels) == 0 { namespacesToSidecars[rs.Metadata.FullName.Namespace] = append(namespacesToSidecars[rs.Metadata.FullName.Namespace], rs) return true } sNs := rs.Metadata.FullName.Namespace sel := labels.SelectorFromSet(s.WorkloadSelector.Labels) foundPod := false
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun May 05 03:44:57 UTC 2024 - 5K bytes - Viewed (0) -
pilot/pkg/model/policyattachment_test.go
Kind: gvk.Service.Kind, Name: "sample-svc", } sampleSelector := &v1beta1.WorkloadSelector{ MatchLabels: labels.Instance{ "app": "my-app", }, } sampleGatewaySelector := &v1beta1.WorkloadSelector{ MatchLabels: labels.Instance{ constants.GatewayNameLabel: "sample-gateway", }, } sampleWaypointSelector := &v1beta1.WorkloadSelector{ MatchLabels: labels.Instance{ constants.GatewayNameLabel: "sample-waypoint",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 8.3K bytes - Viewed (0) -
releasenotes/notes/51568.yaml
apiVersion: release-notes/v2 kind: bug-fix area: istioctl issue: - 51567 releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 07:22:31 UTC 2024 - 194 bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/destinationrule-simple-port-credentialname-selector.yaml
spec: host: mydbserver.prod.svc.cluster.local trafficPolicy: portLevelSettings: - port: number: 443 tls: mode: SIMPLE credentialName: db-credential workloadSelector: matchLabels:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 07:22:31 UTC 2024 - 342 bytes - Viewed (0) -
pkg/config/analysis/analyzers/destinationrule/ca-certificates.go
if mode == v1alpha3.ClientTLSSettings_SIMPLE || mode == v1alpha3.ClientTLSSettings_MUTUAL { if dr.GetTrafficPolicy().GetTls().GetCaCertificates() == "" && !(dr.GetTrafficPolicy().GetTls().GetCredentialName() != "" && dr.WorkloadSelector != nil) { m := msg.NewNoServerCertificateVerificationDestinationLevel(r, drName, drNs.String(), mode.String(), dr.GetHost()) if line, ok := util.ErrorLine(r, fmt.Sprintf(util.DestinationRuleTLSCert)); ok {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 07:22:31 UTC 2024 - 2.9K bytes - Viewed (0) -
pilot/pkg/model/envoyfilter.go
out := &EnvoyFilterWrapper{Name: local.Name, Namespace: local.Namespace, Priority: localEnvoyFilter.Priority, creationTime: local.CreationTimestamp} if localEnvoyFilter.WorkloadSelector != nil { out.workloadSelector = localEnvoyFilter.WorkloadSelector.Labels } out.Patches = make(map[networking.EnvoyFilter_ApplyTo][]*EnvoyFilterConfigPatchWrapper) for _, cp := range localEnvoyFilter.ConfigPatches { if cp.Patch == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 13:57:28 UTC 2024 - 7.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/util.go
out := make(map[types.NamespacedName]*config.Config) for i, cfg := range ses { se := cfg.Spec.(*networking.ServiceEntry) if se.WorkloadSelector != nil && labels.Instance(se.WorkloadSelector.Labels).Match(wle.Labels) { out[cfg.NamespacedName()] = &ses[i] } } return out } // returns a set of objects that are in `old` but not in `curr` // For example:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 1.9K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/destinationrule-simple-destination-credentialname-selector.yaml
apiVersion: networking.istio.io/v1alpha3 kind: DestinationRule metadata: name: db-tls spec: host: mydbserver.prod.svc.cluster.local trafficPolicy: tls: mode: SIMPLE credentialName: db-credential workloadSelector: matchLabels:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 07:22:31 UTC 2024 - 271 bytes - Viewed (0) -
pilot/pkg/serviceregistry/util/workloadinstances/index_test.go
Hosts: []string{"selector.com"}, Ports: []*networking.ServicePort{ {Number: 444, Name: "tcp-444", Protocol: "tcp"}, {Number: 445, Name: "http-445", Protocol: "http"}, }, WorkloadSelector: &networking.WorkloadSelector{ Labels: map[string]string{"app": "wle"}, }, Resolution: networking.ServiceEntry_STATIC, }, } func TestIndex(t *testing.T) { // Setup a couple of workload instances for test
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 5K bytes - Viewed (0) -
pkg/kube/krt/join_test.go
}) se := &istioclient.ServiceEntry{ ObjectMeta: metav1.ObjectMeta{ Name: "svc-entry", Namespace: "namespace", }, Spec: istio.ServiceEntry{WorkloadSelector: &istio.WorkloadSelector{Labels: map[string]string{"app": "foo"}}}, } sec.Create(se) assert.EventuallyEqual(t, fetch, []SimpleEndpoint{ {pod.Name, se.Name, pod.Namespace, pod.Status.PodIP},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 09 19:55:53 UTC 2024 - 6.1K bytes - Viewed (0)