mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-07-30 12:02:44 +00:00
feat: Remove pvc-for-tmp install arg
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat> Signed-off-by: Scott Seago <sseago@redhat.com>
This commit is contained in:
@@ -90,7 +90,6 @@ type Options struct {
|
||||
NodeAgentConfigMap string
|
||||
ItemBlockWorkerCount int
|
||||
ConcurrentBackups int
|
||||
PVCForTmp string
|
||||
NodeAgentDisableHostPath bool
|
||||
kubeletRootDir string
|
||||
ServerPriorityClassName string
|
||||
@@ -192,12 +191,6 @@ func (o *Options) BindFlags(flags *pflag.FlagSet) {
|
||||
o.NodeAgentConfigMap,
|
||||
"The name of ConfigMap containing node-agent configurations.",
|
||||
)
|
||||
flags.StringVar(
|
||||
&o.PVCForTmp,
|
||||
"pvc-for-tmp",
|
||||
o.PVCForTmp,
|
||||
"The name of PVC to be used as /tmp dir of Velero server pod. Optional.",
|
||||
)
|
||||
flags.IntVar(
|
||||
&o.ItemBlockWorkerCount,
|
||||
"item-block-worker-count",
|
||||
@@ -328,7 +321,6 @@ func (o *Options) AsVeleroOptions() (*install.VeleroOptions, error) {
|
||||
NodeAgentConfigMap: o.NodeAgentConfigMap,
|
||||
ItemBlockWorkerCount: o.ItemBlockWorkerCount,
|
||||
ConcurrentBackups: o.ConcurrentBackups,
|
||||
PVCForTmp: o.PVCForTmp,
|
||||
KubeletRootDir: o.kubeletRootDir,
|
||||
NodeAgentDisableHostPath: o.NodeAgentDisableHostPath,
|
||||
ServerPriorityClassName: o.ServerPriorityClassName,
|
||||
|
||||
Reference in New Issue
Block a user