MCPcopy Create free account
hub / github.com/flant/shell-operator / DefaultPatchOptions

Function DefaultPatchOptions

pkg/kubernetes.go:29–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29func DefaultPatchOptions() metav1.PatchOptions {
30 opts := metav1.PatchOptions{}
31
32 if app.KubeClientFieldManager != "" {
33 opts.FieldManager = app.KubeClientFieldManager
34 }
35
36 return opts
37}

Callers 1

executePatchOperationMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected