Skip to content

Programatically sync feature gate status from k/k to documentation #50992

@Jefftree

Description

@Jefftree

It is a lot of manual effort and error prone to check feature gate stage changes and ensure they are well reflected in the documentation. Feature owners sometimes forget, we sometimes have typos, and there is a non-zero chance for inaccuracies to slip into the website.

Without touching prior feature gates, we should be able to sync the feature gates emitted from k/k's versioned_feature_list.yaml to the website feature gate status directory.

Is this something we can leverage scripting for? I see we have a python script update-imported-docs.py that does something similar with OpenAPI. Can we add a new script somewhere to mirror the gates in versioned_feature_list.yaml in a release (or master) branch into the feature gate directory?

Would kubernetes/kubernetes#128241 be a prerequisite or can we directory use the yaml file?

/cc @lmktfy @tengqm

Metadata

Metadata

Assignees

Labels

needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions