Skip to content

Commit

Permalink
Don't set encryption type if encryption is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole Markus With committed Aug 15, 2021
1 parent d2e20e8 commit d3447af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/model/components/cilium.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func (b *CiliumOptionsBuilder) BuildOptions(o interface{}) error {
c.MemoryRequest = &defaultMemoryRequest
}

if c.EncryptionType == "" {
if c.EnableEncryption && c.EncryptionType == "" {
c.EncryptionType = kops.CiliumEncryptionTypeIPSec
}

Expand Down

0 comments on commit d3447af

Please sign in to comment.