Browse Source

etcdmain: update help message

Add experimental-peer-skip-client-san-verification flag description to
help message. Add default values.
Jingyi Hu 6 years ago
parent
commit
871c2d716f
1 changed files with 5 additions and 3 deletions
  1. 5 3
      etcdmain/help.go

+ 5 - 3
etcdmain/help.go

@@ -200,12 +200,14 @@ Experimental feature:
     Duration of time between cluster corruption check passes.
     Duration of time between cluster corruption check passes.
   --experimental-enable-v2v3 ''
   --experimental-enable-v2v3 ''
     Serve v2 requests through the v3 backend under a given prefix.
     Serve v2 requests through the v3 backend under a given prefix.
-  --experimental-backend-bbolt-freelist-type
+  --experimental-backend-bbolt-freelist-type 'array'
     ExperimentalBackendFreelistType specifies the type of freelist that boltdb backend uses(array and map are supported types).
     ExperimentalBackendFreelistType specifies the type of freelist that boltdb backend uses(array and map are supported types).
-  --experimental-enable-lease-checkpoint
+  --experimental-enable-lease-checkpoint 'false'
     ExperimentalEnableLeaseCheckpoint enables primary lessor to persist lease remainingTTL to prevent indefinite auto-renewal of long lived leases.
     ExperimentalEnableLeaseCheckpoint enables primary lessor to persist lease remainingTTL to prevent indefinite auto-renewal of long lived leases.
-  --experimental-compaction-batch-limit
+  --experimental-compaction-batch-limit 1000
     ExperimentalCompactionBatchLimit sets the maximum revisions deleted in each compaction batch.
     ExperimentalCompactionBatchLimit sets the maximum revisions deleted in each compaction batch.
+  --experimental-peer-skip-client-san-verification 'false'
+    Skip verification of SAN field in client certificate for peer connections.
 
 
 Unsafe feature:
 Unsafe feature:
   --force-new-cluster 'false'
   --force-new-cluster 'false'