diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2023-08-02 22:22:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-02 22:22:59 +0300 |
commit | d2ee8972de4e4070963a02d51feafc03b2e113ba (patch) | |
tree | 13908f92595d57875ee1654705a2617b25317cd8 /integrations/deploy.yaml | |
parent | a2149738dbd6b80b75d31e699f492658718ae943 (diff) |
fix meta deploy docker swarm NC env var (#15716)
Diffstat (limited to 'integrations/deploy.yaml')
-rw-r--r-- | integrations/deploy.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/integrations/deploy.yaml b/integrations/deploy.yaml index 8aa7826020..846a779d79 100644 --- a/integrations/deploy.yaml +++ b/integrations/deploy.yaml @@ -372,10 +372,12 @@ - /sys:/host/sys:ro - /etc/os-release:/host/etc/os-release:ro - /etc/hostname:/etc/hostname:ro + {% if $showClaimingOptions %} environment: - NETDATA_CLAIM_TOKEN={% claim_token %} - NETDATA_CLAIM_URL={% claim_url %} - NETDATA_CLAIM_ROOMS={% $claim_rooms %} + {% /if %} deploy: mode: global volumes: @@ -406,10 +408,12 @@ - /sys:/host/sys:ro - /etc/os-release:/host/etc/os-release:ro - /etc/hostname:/etc/hostname:ro + {% if $showClaimingOptions %} environment: - NETDATA_CLAIM_TOKEN={% claim_token %} - NETDATA_CLAIM_URL={% claim_url %} - NETDATA_CLAIM_ROOMS={% $claim_rooms %} + {% /if %} deploy: mode: global volumes: |