Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
a2ed5fcd
Unverified
Commit
a2ed5fcd
authored
1 year ago
by
Serge Hartmann
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Doc: variable cilium_ipsec_key must be base64 encoded (#10781)
Signed-off-by:
serge Hartmann
<
serge.hartmann@gmail.com
>
parent
6497ecc7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/cilium.md
+6
-2
6 additions, 2 deletions
docs/cilium.md
with
6 additions
and
2 deletions
docs/cilium.md
+
6
−
2
View file @
a2ed5fcd
...
...
@@ -141,7 +141,7 @@ cilium_encryption_enabled: true
cilium_encryption_type
:
"
ipsec"
```
The third variable is
`cilium_ipsec_key
.
`
You need to create a secret key string for this variable.
The third variable is
`cilium_ipsec_key`
.
You need to create a secret key string for this variable.
Kubespray does not automate this process.
Cilium documentation currently recommends creating a key using the following command:
...
...
@@ -149,7 +149,11 @@ Cilium documentation currently recommends creating a key using the following com
echo
"3 rfc4106(gcm(aes))
$(
echo
$(
dd
if
=
/dev/urandom
count
=
20
bs
=
1 2> /dev/null | xxd
-p
-c
64
))
128"
```
Note that Kubespray handles secret creation. So you only need to pass the key as the
`cilium_ipsec_key`
variable.
Note that Kubespray handles secret creation. So you only need to pass the key as the
`cilium_ipsec_key`
variable, base64 encoded:
```
shell
echo
"cilium_ipsec_key: "
$(
echo
-n
"3 rfc4106(gcm(aes))
$(
echo
$(
dd
if
=
/dev/urandom
count
=
20
bs
=
1 2> /dev/null | xxd
-p
-c
64
))
128"
|
base64
-w0
)
```
### Wireguard Encryption
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment