Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ranflare

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ranflare

Rancher + Cloudflare External DNS

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Running

docker run idwall/ranflare <<TBC>>

Add DNS to a service

Add label io.ranflare.dns to the service containing the template or final value of the DNS entry.

The supported template values for this label are:

  • {{ name }} - service name on rancher
  • {{ stack }} - stack name on rancher
  • {{ labels.xxx.yyy.zzz }} - value of label xxx.yyy.zzz

Set global DNS template

Use command line option --dns.template to set the global dns template, which doesn't mean you'll not use service template anymore - this is used after generating the dns name.

The supported template values for this option are:

  • {{ dns }} - the generated DNS name for the service
  • {{ zone }} - the domain name present in cloudflare zone

For example, considering your zone name on cloudflare is mysite.com and you've set a label io.ranflare.dns="{{ name }}.test" to service xyz. This will generate a DNS value xyz.test for the service. You now launched ranflare with option --dns.template "{{ dns }}.hey.{{ zone }}", which will cause the final DNS name to be xyz.test.hey.mysite.com, and this is what is getting registered on cloudflare.

All supported options

  • --cloudflare.email <email> - CloudFlare email
  • --cloudflare.key <email> - CloudFlare API Key
  • --cloudflare.zone <zone> - CloudFlare Zone ID
  • --cloudflare.noproxy - Disables proxy from CloudFlare when adding entries
  • --poll.interval <interval> - Poll interval, default value: 300000
  • --rancher.metadata.url <url> - Rancher Metadata URL, default value: http://rancher-metadata

Keywords

FAQs

Package last updated on 06 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc