Skip to content

[velero] Fix nodeAgent lifecycle option - #739

Open
Alja9 wants to merge 4 commits into
vmware-tanzu:mainfrom
Alja9:life
Open

Alja9 wants to merge 4 commits into
vmware-tanzu:mainfrom
Alja9:life

Conversation

@Alja9

@Alja9 Alja9 commented Jun 5, 2026 •

Copy link
Copy Markdown
Contributor

Special notes for your reviewer:

Fixed the lifecycle condition in templates/node-agent-daemonset.yaml.
The condition now correctly checks .Values.nodeAgent.lifecycle instead of .Values.lifecycle.
So the nodeAgent lifecycle is only rendered when the nodeAgent lifecycle is actually configured in values.yaml:

# Container Lifecycle Hooks to use for the node-agent daemonset. Optional.
lifecycle: {}

Not when the Velero deployment lifecycle is set.

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • DCO signed
  • Chart Version bumped, please refer to the chart version instruction
  • Variables are documented in the values.yaml or README.md
  • Title of the PR starts with chart name (e.g. [velero])

@github-actions
github-actions Bot requested a review from jenting June 5, 2026 03:05
@github-actions
github-actions Bot requested a review from ywk253100 June 5, 2026 03:05
@Alja9
Alja9 marked this pull request as draft June 5, 2026 03:06
@Alja9
Alja9 marked this pull request as ready for review June 14, 2026 01:49
jenting
jenting previously approved these changes Jun 14, 2026
Signed-off-by: aldi.j <aldi.jayadi222@gmail.com>
jenting
jenting previously approved these changes Jun 15, 2026
Signed-off-by: aldi.j <aldi.jayadi222@gmail.com>
@jenting

jenting commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

@blackpiglet PTAL

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants