Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 157 for patchSets (0.23 sec)

  1. pkg/registry/core/service/strategy_test.go

    			name:   "don't clear changed clusterIP",
    			svc:    makeValidService(),
    			patch:  patches(setTypeExternalName, changeClusterIPs),
    			expect: makeValidServiceCustom(setTypeExternalName, changeClusterIPs, clearIPFamilies, clearIPFamilyPolicy),
    		}, {
    			name:   "don't clear changed ipFamilies",
    			svc:    makeValidService(),
    			patch:  patches(setTypeExternalName, changeIPFamilies),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/apis/kubeadm/types.go

    	// The flag "--skip-phases" takes precedence over this field.
    	SkipPhases []string
    
    	// Patches contains options related to applying patches to components deployed by kubeadm during
    	// "kubeadm init".
    	Patches *Patches
    
    	// Timeouts holds various timeouts that apply to kubeadm commands.
    	Timeouts *Timeouts
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/upgrade/apply.go

    	} else {
    		return cmdutil.TypeMismatchErr("renewCerts", "bool")
    	}
    
    	if len(flags.patchesDir) > 0 {
    		upgradeCfg.Apply.Patches = &kubeadmapi.Patches{Directory: flags.patchesDir}
    	} else if upgradeCfg.Apply.Patches == nil {
    		upgradeCfg.Apply.Patches = &kubeadmapi.Patches{}
    	}
    
    	// Now; perform the upgrade procedure
    	if err := PerformControlPlaneUpgrade(flags, client, waiter, initCfg, upgradeCfg); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go

    	// The flag "--skip-phases" takes precedence over this field.
    	// +optional
    	SkipPhases []string `json:"skipPhases,omitempty"`
    
    	// Patches contains options related to applying patches to components deployed by kubeadm during
    	// "kubeadm init".
    	// +optional
    	Patches *Patches `json:"patches,omitempty"`
    
    	// Timeouts holds various timeouts that apply to kubeadm commands.
    	// +optional
    	Timeouts *Timeouts `json:"timeouts,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go

    	if customResourceDefinition == nil {
    		return nil, fmt.Errorf("customResourceDefinition provided to Apply must not be nil")
    	}
    	patchOpts := opts.ToPatchOptions()
    	data, err := json.Marshal(customResourceDefinition)
    	if err != nil {
    		return nil, err
    	}
    	name := customResourceDefinition.Name
    	if name == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/addons/dns/dns.go

    }
    
    // applyCoreDNSDeploymentPatches reads patches from a directory and applies them over the input coreDNSDeploymentBytes
    func applyCoreDNSDeploymentPatches(coreDNSDeploymentBytes []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: Sat May 11 10:21:20 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. 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)
  10. releasenotes/notes/bds-removal.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: installation
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 09 19:21:50 UTC 2024
    - 196 bytes
    - Viewed (0)
Back to top