setting resourceAutoRefreshTimeInterval to 0 does not disable the auto refresh
What happened?
Setting to zero as explained in the Values.yaml file does not work:
https://github.com/kubernetes/dashboard/blob/7d1785fc680aa71d8589986f2251d91f52bcbe46/charts/kubernetes-dashboard/values.yaml#L67-L68
What did you expect to happen?
Expected the auto refresh to be totally disabled.
How can we reproduce it (as minimally and precisely as possible)?
Example, in Ansible syntax:
- name: Install kubernetes-dashboard
kubernetes.core.helm:
name: kube-dashboard
chart_ref: kubernetes-dashboard/kubernetes-dashboard
chart_version: '{{ kind_kubernetes_dashboard_chart_version }}'
release_namespace: kube-dashboard
create_namespace: true
update_repo_cache: true
values:
app:
settings:
global:
logsAutoRefreshTimeInterval: 0
# setting this to 30, works.
# setting this to 0, does not work. it actually sets to 10 seconds (the default that is hard-coded in the source-code).
resourceAutoRefreshTimeInterval: 0
The source-code is at:
https://github.com/kubernetes/dashboard/blob/7d1785fc680aa71d8589986f2251d91f52bcbe46/modules/web/pkg/settings/settings.go#L29
Anything else we need to know?
No response
What browsers are you seeing the problem on?
No response
Kubernetes Dashboard version
7.1.2
Kubernetes version
1.29.2
Dev environment
No response
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Mark this issue as fresh with
/remove-lifecycle stale - Close this issue with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Mark this issue as fresh with
/remove-lifecycle rotten - Close this issue with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Reopen this issue with
/reopen - Mark this issue as fresh with
/remove-lifecycle rotten - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/close not-planned
@k8s-triage-robot: Closing this issue, marking it as "Not Planned".
In response to this:
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied- After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied- After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closedYou can:
- Reopen this issue with
/reopen- Mark this issue as fresh with
/remove-lifecycle rotten- Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/close not-planned
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.