Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting resourceAutoRefreshTimeInterval to 0 does not disable the auto refresh #8834

Open
rgl opened this issue Mar 25, 2024 · 0 comments
Open
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@rgl
Copy link

rgl commented Mar 25, 2024

What happened?

Setting to zero as explained in the Values.yaml file does not work:

# # Number of seconds between every auto-refresh of every resource. Set 0 to disable
# resourceAutoRefreshTimeInterval: 5

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:

ResourceAutoRefreshTimeInterval: lo.ToPtr(10),

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

@rgl rgl added the kind/bug Categorizes issue or PR as related to a bug. label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant