From: Casey Callendrello Date: Mon, 21 Nov 2016 18:05:41 +0000 (+0100) Subject: ipam/host-local: add ResolvConf argument for DNS configuration X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=cd16252299831ffb84ddeb922a6bdd74400a062f;p=plugins.git ipam/host-local: add ResolvConf argument for DNS configuration This adds the option `resolvConf` to the host-local IPAM configuration. If specified, the plugin will try to parse the file as a resolv.conf(5) type file and return it in the DNS response. --- diff --git a/host-local.md b/host-local.md index 3744615..00c1e84 100644 --- a/host-local.md +++ b/host-local.md @@ -30,6 +30,7 @@ It stores the state locally on the host filesystem, therefore ensuring uniquenes * `rangeEnd` (string, optional): IP inside of "subnet" with which to end allocating addresses. Defaults to ".254" IP inside of the "subnet" block. * `gateway` (string, optional): IP inside of "subnet" to designate as the gateway. Defaults to ".1" IP inside of the "subnet" block. * `routes` (string, optional): list of routes to add to the container namespace. Each route is a dictionary with "dst" and optional "gw" fields. If "gw" is omitted, value of "gateway" will be used. +* `resolvConf` (string, optional): Path to a `resolv.conf` on the host to parse and return as the DNS configuration ## Supported arguments The following [CNI_ARGS](https://github.com/containernetworking/cni/blob/master/SPEC.md#parameters) are supported: