fix meta deploy docker swarm NC env var (#15716)
Ilya Mashchenko committed
Aug 2, 2023 at 22:22 UTC
d2ee8972de4e4070963a02d51feafc03b2e113ba
1 file changed
+4
integrations/deploy.yaml
+4
@@ -372,10 +372,12 @@
372
- /sys:/host/sys:ro
373
- /etc/os-release:/host/etc/os-release:ro
374
- /etc/hostname:/etc/hostname:ro
375
+ {% if $showClaimingOptions %}
376
environment:
377
- NETDATA_CLAIM_TOKEN={% claim_token %}
378
- NETDATA_CLAIM_URL={% claim_url %}
379
- NETDATA_CLAIM_ROOMS={% $claim_rooms %}
380
+ {% /if %}
381
deploy:
382
mode: global
383
volumes:
@@ -406,10 +408,12 @@
408
- /sys:/host/sys:ro
409
- /etc/os-release:/host/etc/os-release:ro
410
- /etc/hostname:/etc/hostname:ro
411
+ {% if $showClaimingOptions %}
412
environment:
413
- NETDATA_CLAIM_TOKEN={% claim_token %}
414
- NETDATA_CLAIM_URL={% claim_url %}
415
- NETDATA_CLAIM_ROOMS={% $claim_rooms %}
416
+ {% /if %}
417
deploy:
418
mode: global
419
volumes: