Skip to content

There's no variable in values.yaml equivalent to --node-agent-disable-host-path #710

@agusdallalba

Description

@agusdallalba

Describe the problem/challenge you have

I'm trying to use Velero for PVC backups.

I already use FluxCD to deploy manifests and keep things updated automatically. I decided to install Velero using the Helm chart because I couldn't find a simpler way to do it with FluxCD. Ideally Helm would provide a minimal manifest bundle that can be applied with a Kustomization, but whatever I could found was years out of date.

I intend to use the CSI data mover to get consistent filesystem backups that can be easily migrated somewhere else if needed.

To use the CSI data mover I need to enable the node agent.

I intend to give the velero service account the least privileges possible. In particular, I'd like the velero namespace to adhere to the baseline pod security standards.

If I want the velero namespace to pass baseline pod security standards, I need to remove the hostPath mounts.

The website actually documents how to do this with the CLI:

Velero built-in data mover doesn't require the host path for pod volumes into Node Agent pods. The installation by default creates it in order to support fs-backup. If you don't use fs-backup and want to remove it from Node Agent, you can specify the --node-agent-disable-host-path flag.

Unfortunately the current version of the Helm chart does not support this:

https://github.com/vmware-tanzu/helm-charts/blob/velero-10.1.2/charts/velero/templates/node-agent-daemonset.yaml#L81-L86

Describe the solution you'd like

Environment:

  • helm version (use helm version): v3.18.6
  • helm chart version and app version (use helm list -n <YOUR NAMESPACE>): not deployed yet
  • Kubernetes version (use kubectl version): v1.33.5
  • Kubernetes installer & version: Talos v1.10.7
  • Cloud provider or hardware configuration: bare metal, single node
  • OS (e.g. from /etc/os-release): Talos v1.10.7

Kind regards :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions