-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename $service_flannel_ensure to $docker_dropin_ensure
- Loading branch information
1 parent
c474aef
commit 156c8e7
Showing
4 changed files
with
18 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
{ | ||
"Network": "<%= scope['flannel::network'] %>"<% -%> | ||
<% if @subnetlen then -%>, | ||
"SubnetLen": <%= scope['flannel::subnetlen'] %> | ||
"SubnetLen": <%= scope['flannel::subnetlen'] -%> | ||
<% end -%> | ||
<% if @subnetmin then -%>, | ||
"SubnetMin": "<%= scope['flannel::subnetmin'] %>" | ||
"SubnetMin": "<%= scope['flannel::subnetmin'] %>"<% -%> | ||
<% end -%> | ||
<% if @subnetmax then -%>, | ||
"SubnetMax": "<%= scope['flannel::subnetmax'] %>" | ||
"SubnetMax": "<%= scope['flannel::subnetmax'] %>"<% -%> | ||
<% end -%> | ||
<% if @backend_type && @backend_port then -%>, | ||
"Backend": { | ||
"Type": "<%= scope['flannel::backend_type'] %>" | ||
"Type": "<%= scope['flannel::backend_type'] %>"<% -%> | ||
<% if @backend_type == 'udp' then -%>, | ||
"Port": <%= scope['flannel::backend_port'] %> | ||
"Port": <%= scope['flannel::backend_port'] -%> | ||
<% elsif @backend_type == 'vxlan' -%>, | ||
"VNI": <%= scope['flannel::backend_port'] %> | ||
"VNI": <%= scope['flannel::backend_port'] -%> | ||
<% elsif @backend_type == 'aws-vpc' -%>, | ||
"RouteTableID": <%= scope['flannel::backend_port'] %> | ||
"RouteTableID": <%= scope['flannel::backend_port'] -%> | ||
<% end -%> | ||
|
||
} | ||
<% end -%> | ||
} |