Skip to content

Conversation

tengqm
Copy link
Contributor

@tengqm tengqm commented Oct 6, 2025

This PR changes the logic for rendering feature state.
Currently, a feature state is rendered as "enabled by default: true" or "enabled by default: false". A more user-friendly way to render it should be "enabled by default" or "disabled by default". This saves users some brain cells when reading the feature state.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Oct 6, 2025
@k8s-ci-robot k8s-ci-robot added the language/en Issues or PRs related to English language label Oct 6, 2025
@k8s-ci-robot k8s-ci-robot added sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 6, 2025
Copy link

netlify bot commented Oct 6, 2025

Pull request preview available for checking

Name Link
🔨 Latest commit 2231ff0
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-io-main-staging/deploys/68e32bf6748d520008e9a8fa
😎 Deploy Preview https://deploy-preview-52635--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

@lmktfy lmktfy left a comment

Choose a reason for hiding this comment

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

/approve


[feature_gate_enabled]
other = "(enabled by default: {{ .enabled }})"
other = "(enabled by default)"
Copy link
Contributor

Choose a reason for hiding this comment

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

Caution: this might break localizations that still rely on the old text.

If we're OK with that, we can proceed.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lmktfy

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@lmktfy
Copy link
Contributor

lmktfy commented Oct 6, 2025

/area web-development

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. area/web-development Issues or PRs related to the kubernetes.io's infrastructure, design, or build processes labels Oct 6, 2025
Copy link
Member

@Arhell Arhell left a comment

Choose a reason for hiding this comment

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

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/web-development Issues or PRs related to the kubernetes.io's infrastructure, design, or build processes cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants