- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for patchSets (0.3 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/meta.go
const patchStrategy = "x-kubernetes-patch-strategy" type PatchMeta struct { patchStrategies []string patchMergeKey string } func (pm *PatchMeta) GetPatchStrategies() []string { if pm.patchStrategies == nil { return []string{} } return pm.patchStrategies } func (pm *PatchMeta) SetPatchStrategies(ps []string) { pm.patchStrategies = ps } func (pm *PatchMeta) GetPatchMergeKey() string { return pm.patchMergeKey
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 16:45:45 UTC 2023 - 7.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/types.go
if err != nil { item.err = err return } item.patchmeta = PatchMeta{ patchStrategies: patchStrategies, patchMergeKey: mergeKey, } item.subschema = subschema } type sliceItem struct { key string path *openapi.Path err error patchmeta PatchMeta subschema openapi.Schema hasVisitKind bool }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 20 22:35:14 UTC 2017 - 4.4K bytes - Viewed (0) -
pilot/pkg/model/envoyfilter_test.go
} if patches := cfilter.Patches[networking.EnvoyFilter_INVALID]; len(patches) != 1 { t.Fatalf("unexpected patches of %v: %v", networking.EnvoyFilter_INVALID, cfilter.Patches) } if patches := cfilter.Patches[networking.EnvoyFilter_HTTP_ROUTE]; len(patches) != 1 { // check num of invalid http route patches t.Fatalf("unexpected patches of %v: %v", networking.EnvoyFilter_HTTP_ROUTE, cfilter.Patches) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 27 04:20:28 UTC 2023 - 7.4K bytes - Viewed (0) -
operator/cmd/mesh/testdata/manifest-generate/input/pilot_override_kubernetes.yaml
- kind: Service name: istiod patches: - path: spec.ports.[name:https-dns].port value: 11111 # OVERRIDDEN # Cluster scope resource - kind: MutatingWebhookConfiguration name: istio-sidecar-injector-istio-control patches:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 01 22:07:45 UTC 2023 - 2.1K bytes - Viewed (0) -
pilot/pkg/model/envoyfilter.go
} // Returns the keys of all the wrapped envoyfilters. func (efw *EnvoyFilterWrapper) Keys() []string { if efw == nil { return nil } keys := sets.String{} for _, patches := range efw.Patches { for _, patch := range patches { keys.Insert(patch.Key()) } } return sets.SortedList(keys) } // Returns the keys of all the wrapped envoyfilters.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 13:57:28 UTC 2024 - 7.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubelet/config.go
} // applyKubeletConfigPatches reads patches from a directory and applies them over the input kubeletBytes func applyKubeletConfigPatches(kubeletBytes []byte, patchesDir string, output io.Writer) ([]byte, error) { patchManager, err := patches.GetPatchManagerForPath(patchesDir, patches.KnownTargets(), output) if err != nil { return nil, err } patchTarget := &patches.PatchTarget{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 02 12:34:30 UTC 2024 - 5.9K bytes - Viewed (0) -
operator/samples/pilot-advanced-override.yaml
- kind: Deployment name: istiod patches: - path: spec.template.spec.containers.[name:discovery].args.[30m] value: "60m" # OVERRIDDEN - path: spec.template.spec.containers.[name:discovery].ports.[containerPort:8080].containerPort value: 8090 # OVERRIDDEN - kind: Service name: istiod patches: - path: spec.ports.[name:grpc-xds].port
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 18 18:00:25 UTC 2020 - 598 bytes - Viewed (0) -
pilot/pkg/networking/core/envoyfilter/cluster_patch.go
log.Errorf("clusters patch %s/%s caused panic, so the patches did not take effect", efw.Namespace, efw.Name) IncrementEnvoyFilterErrorMetric(Cluster) }) // In case the patches cause panic, use the clusters generated before to reduce the influence. out = c if efw == nil { return } for _, cp := range efw.Patches[networking.EnvoyFilter_CLUSTER] { applied := false
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 6.8K bytes - Viewed (0) -
pilot/pkg/networking/core/envoyfilter/fuzz_test.go
fg := fuzz.New(t, data) patches := fuzz.Slice[*networking.EnvoyFilter_EnvoyConfigObjectPatch](fg, patchCount%30) proxy := fuzz.Struct[*model.Proxy](fg) mesh := fuzz.Struct[*meshconfig.MeshConfig](fg) c := fuzz.Struct[*cluster.Cluster](fg) serviceDiscovery := memory.NewServiceDiscovery() env := newTestEnvironment(serviceDiscovery, mesh, buildEnvoyFilterConfigStore(patches)) push := model.NewPushContext()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 1.6K bytes - Viewed (0) -
operator/pkg/patch/patch.go
} } return ret.String(), errs.ToError() } // applyPatches applies the given patches against the given object. It returns the resulting patched YAML if successful, // or a list of errors otherwise. func applyPatches(base *object.K8sObject, patches []*v1alpha1.K8SObjectOverlay_PathValue) (outYAML string, errs util.Errors) { bo := make(map[any]any) by, err := base.YAML() if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 10 15:35:03 UTC 2023 - 6.2K bytes - Viewed (0)