summaryrefslogtreecommitdiffstats
path: root/integrations/deploy.yaml
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2023-08-02 22:22:59 +0300
committerGitHub <noreply@github.com>2023-08-02 22:22:59 +0300
commitd2ee8972de4e4070963a02d51feafc03b2e113ba (patch)
tree13908f92595d57875ee1654705a2617b25317cd8 /integrations/deploy.yaml
parenta2149738dbd6b80b75d31e699f492658718ae943 (diff)
fix meta deploy docker swarm NC env var (#15716)
Diffstat (limited to 'integrations/deploy.yaml')
-rw-r--r--integrations/deploy.yaml4
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: