mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-13 00:19:32 -05:00
cilium: also encryption control-planes
When enabling node-to-node encryption, Cilium does not encrypt control-plane to control-plane traffic by default since they say that they cannot gurantee that the generated private key for a node is persisted across reboots. In Constellation we use stateful VMs which when rebooted still have the cilium_wg0 interface containing the private key. Therefore, we can enable this type of encryption.
This commit is contained in:
parent
e9694d40b9
commit
7318f605e1
@ -14,6 +14,7 @@ var ciliumVals = map[string]map[string]any{
|
|||||||
"endpointRoutes": map[string]any{
|
"endpointRoutes": map[string]any{
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
},
|
},
|
||||||
|
"extraArgs": []string{"--node-encryption-opt-out-labels=invalid.label"},
|
||||||
"encryption": map[string]any{
|
"encryption": map[string]any{
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"type": "wireguard",
|
"type": "wireguard",
|
||||||
@ -56,6 +57,7 @@ var ciliumVals = map[string]map[string]any{
|
|||||||
"endpointRoutes": map[string]any{
|
"endpointRoutes": map[string]any{
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
},
|
},
|
||||||
|
"extraArgs": []string{"--node-encryption-opt-out-labels=invalid.label"},
|
||||||
"encryption": map[string]any{
|
"encryption": map[string]any{
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"type": "wireguard",
|
"type": "wireguard",
|
||||||
@ -100,7 +102,8 @@ var ciliumVals = map[string]map[string]any{
|
|||||||
"endpointRoutes": map[string]any{
|
"endpointRoutes": map[string]any{
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
},
|
},
|
||||||
"tunnel": "disabled",
|
"extraArgs": []string{"--node-encryption-opt-out-labels=invalid.label"},
|
||||||
|
"tunnel": "disabled",
|
||||||
"encryption": map[string]any{
|
"encryption": map[string]any{
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"type": "wireguard",
|
"type": "wireguard",
|
||||||
@ -139,6 +142,7 @@ var ciliumVals = map[string]map[string]any{
|
|||||||
"endpointRoutes": map[string]any{
|
"endpointRoutes": map[string]any{
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
},
|
},
|
||||||
|
"extraArgs": []string{"--node-encryption-opt-out-labels=invalid.label"},
|
||||||
"encryption": map[string]any{
|
"encryption": map[string]any{
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"type": "wireguard",
|
"type": "wireguard",
|
||||||
|
Loading…
Reference in New Issue
Block a user