netdata/helmchart

how to disable signup button? (or aclk)

dongho-jung opened this issue · 4 comments

refer to netdata/netdata#9561

it seems that /etc/netdata is readonly fs so I couldn't make use of edit-config for /etc/netdata/cloud.d
according to disable-the-aclk I have two options

but I think I can't go with the first way (if it can please let me know I'm new to k8s)
then, can I disable aclk at runtime?

more generally how can I add new or custom / plugins or confs?

thanks!

P.S. luckily I found this recent issue #217, however I couldn't find solution from there. if this requirement couldn't be satisfied at this point for some technical reason please let me know. I don't even know it's trivial or not though I'll try to contribute it :D

Hi, @0xF4D3C0D3. Netdata image compiled with ACLK support, that is why you see SIGN IN TO CLOUD button.

ACLK (a connection to the Cloud/claiming) is disabled by default.

Hi, @0xF4D3C0D3. Netdata image compiled with ACLK support, that is why you see SIGN IN TO CLOUD button.

ACLK (a connection to the Cloud) is disabled by default.

@ilyam8
Ooh thanks for reply, Ive misunderstood that. I thought that if I turn it off then sign in or updates available button would be gone.

so what I was gonna do is to disable or to hide sign up button or ui like join community.

is it possible? maybe to do this, I need to make my own custom dashboard

I thought that if I turn it off then sign in or updates available button would be gone.

Ok, I see you need to explicitly disable cloud to get rid of that button:

  • create cloud.conf
  • set enabled to no in the global section
[global]
  enabled = no

You can add it by adding a section to the configs (⚠️ I've not tested it, but it supposed to work).

    cloud:
      enabled: true
      path: /var/lib/netdata/cloud.d/cloud.conf
      data: |
        [global]
          enabled = no

See how to do it using override.yaml

You need something like this [override.yaml example]
child:
  configs:
    cloud:
      enabled: true
      path: /var/lib/netdata/cloud.d/cloud.conf
      data: |
        [global]
          enabled = no
    netdata:
      data: |
        [global]
          memory mode = ram
          history = 7200
        [health]
          enabled = no
parent:
  configs:
    cloud:
      enabled: true
      path: /var/lib/netdata/cloud.d/cloud.conf
      data: |
        [global]
          enabled = no

@ilyam8

it totally works. thanks very much. have a nice day! :)