Browse Source

doc: Fix wrong type in IPSec description

doc: Exchange the IPSec `PSK` and `UDPEncap` types to match the implementation

The implementation is in https://github.com/coreos/flannel/blob/62a1314e51047e25606b4e4e30bd23d7a8d746bc/backend/ipsec/ipsec.go#L75
Boris Djurdjevic 6 years ago
parent
commit
dbbdbaf2a0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Documentation/backends.md

+ 2 - 2
Documentation/backends.md

@@ -131,8 +131,8 @@ Use in-kernel IPSec to encapsulate and encrypt the packets.
 
 Type:
 * `Type` (string): `ipsec`
-* `PSK` (Boolean): Required. The pre shared key to use. It needs to be at least 96 characters long. One method for generating this key is to run `dd if=/dev/urandom count=48 bs=1 status=none | xxd -p -c 48`
-* `UDPEncap` (string): Optional, defaults to false. Forces the use UDP encapsulation of packets which can help with some NAT gateways.
+* `PSK` (string): Required. The pre shared key to use. It needs to be at least 96 characters long. One method for generating this key is to run `dd if=/dev/urandom count=48 bs=1 status=none | xxd -p -c 48`
+* `UDPEncap` (Boolean): Optional, defaults to false. Forces the use UDP encapsulation of packets which can help with some NAT gateways.
 * `ESPProposal` (string): Optional, defaults to `aes128gcm16-sha256-prfsha256-ecp256`. Change this string to choose another ESP Proposal.
 
 #### Troubleshooting