mirror of https://github.com/kubernetes/kops.git
Don't set encryption type if encryption is disabled
This commit is contained in:
parent
890187d822
commit
83d818705e
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue