diff --git a/config/flannel.go b/config/flannel.go index 6111514..d7f4d0d 100644 --- a/config/flannel.go +++ b/config/flannel.go @@ -1,9 +1,9 @@ package config type Flannel struct { - EtcdEndpoint string `yaml:"etcd-endpoint" env:"FLANNELD_ETCD_ENDPOINT"` - EtcdPrefix string `yaml:"etcd-prefix" env:"FLANNELD_ETCD_PREFIX"` - IPMasq string `yaml:"ip-masq" env:"FLANNELD_IP_MASQ"` - SubnetFile string `yaml:"subnet-file" env:"FLANNELD_SUBNET_FILE"` + EtcdEndpoint string `yaml:"etcd_endpoint" env:"FLANNELD_ETCD_ENDPOINT"` + EtcdPrefix string `yaml:"etcd_prefix" env:"FLANNELD_ETCD_PREFIX"` + IPMasq string `yaml:"ip_masq" env:"FLANNELD_IP_MASQ"` + SubnetFile string `yaml:"subnet_file" env:"FLANNELD_SUBNET_FILE"` Iface string `yaml:"interface" env:"FLANNELD_IFACE"` }