Skip to content

Conversation

@tom-ludwig
Copy link

@tom-ludwig tom-ludwig commented Dec 12, 2025

Description

Update the documentation for the tigera operator helm chart.

  • Update readme of the helm chart
    • Remove old kubeletVolumePluginPath and move it to installation.kubeletVolumePluginPath
    • Update URL of the installation spec
  • Update values.yaml
    • Add URL to installationSpec
    • Add most important default values to allow the user to quickly adapt the values to their use case

When I start with a poc of a new operator, I'll usually try to deploy it to our poc landscape as soon as possible.
For that I just copy the values.yaml and tweak them to my use case.
I think these changes will make it easier and more clearer where to start.

Related issues/PRs

Todos

  • Tests
  • Documentation
  • Release note

Release Note

Improve tigera-operator helm chart default values.yaml so it is easier to discover available configuration options. 

Reminder for the reviewer

Make sure that this PR has the correct labels and milestone set.

Every PR needs one docs-* label.

  • docs-pr-required: This change requires a change to the documentation that has not been completed yet.
  • docs-completed: This change has all necessary documentation completed.
  • docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

  • release-note-required: This PR has user-facing changes. Most PRs should have this label.
  • release-note-not-required: This PR has no user-facing changes.

Other optional labels:

  • cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
  • needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

Copilot AI review requested due to automatic review settings December 12, 2025 18:58
@tom-ludwig tom-ludwig requested a review from a team as a code owner December 12, 2025 18:58
@marvin-tigera marvin-tigera added this to the Calico v3.32.0 milestone Dec 12, 2025
@marvin-tigera marvin-tigera added release-note-required Change has user-facing impact (no matter how small) docs-pr-required Change is not yet documented labels Dec 12, 2025
@CLAassistant
Copy link

CLAassistant commented Dec 12, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves the documentation and usability of the tigera-operator Helm chart by reorganizing configuration structure and adding comprehensive default values with inline documentation.

Key Changes:

  • Relocated kubeletVolumePluginPath from root level to installation.kubeletVolumePluginPath for better organization
  • Added extensive documentation comments and default values for common configuration options (CNI, networking, dataplane, logging)
  • Updated API documentation URL reference to use the correct anchor format (#installationspec)

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
charts/tigera-operator/values.yaml Added comprehensive default values with documentation for installation configuration including CNI settings, networking options, dataplane selection, control plane configuration, and logging settings; moved kubeletVolumePluginPath under installation section
charts/tigera-operator/README.md Updated to reflect the new location of kubeletVolumePluginPath under installation section; removed obsolete root-level configuration reference

Copy link
Member

@caseydavenport caseydavenport left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, thank you!

I've added some thoughts and comments - please let me know what you think. My main concern is defaulting too many values that we typically allow the operator to auto-detect - I think including them but leaving them commented out is a good middleground?

@caseydavenport caseydavenport added the docs-not-required Docs not required for this change label Dec 12, 2025
@marvin-tigera marvin-tigera removed the docs-pr-required Change is not yet documented label Dec 12, 2025
@tom-ludwig
Copy link
Author

@caseydavenport I didn't think of that, good catch! I haven't been in the operator code, so I'll take your word for it 😅. Leaving them as comments sounds perfect and would already help me as a user.

@tom-ludwig
Copy link
Author

@caseydavenport can you please take another look at this? Appreciate it!

@caseydavenport
Copy link
Member

/sem-approve

@caseydavenport
Copy link
Member

Thanks @tom-ludwig - sorry for the delay, I've been out for the holidays.

I added two more comments on "magic" fields that probably can't be defaulted in the values.yaml file. This is looking pretty close, though!

@tom-ludwig
Copy link
Author

@caseydavenport thanks for you time and the review.

I commented the marked parameters out 👍🏻

@caseydavenport
Copy link
Member

/sem-approve

@caseydavenport
Copy link
Member

whoops @tom-ludwig I think you'll need to run make generate to update manifests ( we use the chart to generate them ). Although it looks like the generation might be deleting some things it shouldn't, so possibly a bug?

@tom-ludwig
Copy link
Author

@caseydavenport I likely won't have the bandwidth to work on this until next week. Could you please try running the generation to see if it resolves the issue?

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

Labels

docs-not-required Docs not required for this change release-note-required Change has user-facing impact (no matter how small)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CSI Driver gets Installed contradicting Documentation

4 participants