Skip to content

Commit f377121

Browse files
authored
Merge pull request #316 from cybozu-go/update-docs
Update docs
2 parents 5f18da9 + 6a7598e commit f377121

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

docs/cmd-coil-egress-controller.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ and binds it to the **ClusterRoles** for `coil-egress`.
1818
Flags:
1919
--cert-dir string directory to locate TLS certs for webhook (default "/certs")
2020
--egress-port int32 UDP port number used by coil-egress (default 5555)
21-
--gc-interval duration garbage collection interval (default 1h0m0s)
2221
--health-addr string bind address of health/readiness probes (default ":9387")
2322
-h, --help help for coil-egress-controller
2423
--metrics-addr string bind address of metrics endpoint (default ":9386")

docs/cmd-coild.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ Calico needs to be configured to set [`FELIX_INTERFACEPREFIX`](https://github.co
5252
Flags:
5353
--compat-calico make veth name compatible with Calico
5454
--egress-port int UDP port number for egress NAT (default 5555)
55+
--enable-egress enable Egress related features (default true)
56+
--enable-ipam enable IPAM related features (default true)
5557
--export-table-id int routing table ID to which coild exports routes (default 119)
5658
--health-addr string bind address of health/readiness probes (default ":9385")
5759
-h, --help help for coild

v2/pkg/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func Parse(rootCmd *cobra.Command) *Config {
4141
pf.IntVar(&config.EgressPort, "egress-port", constants.DefaultEgressPort, "UDP port number for egress NAT")
4242
pf.BoolVar(&config.RegisterFromMain, "register-from-main", constants.DefaultRegisterFromMain, "help migration from Coil 2.0.1")
4343
pf.BoolVar(&config.EnableIPAM, "enable-ipam", constants.DefaultEnableIPAM, "enable IPAM related features")
44-
pf.BoolVar(&config.EnableEgress, "enable-egress", constants.DefaultEnableEgress, "enable IPAM related features")
44+
pf.BoolVar(&config.EnableEgress, "enable-egress", constants.DefaultEnableEgress, "enable Egress related features")
4545
pf.DurationVar(&config.AddressBlockGCInterval, "addressblock-gc-interval", constants.DefaultAddressBlockGCInterval, "interval for address block GC")
4646

4747
goflags := flag.NewFlagSet("klog", flag.ExitOnError)

0 commit comments

Comments
 (0)