Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit cf01283

Browse files
committed
Encryption at rest is only support on kubernetes 1.7 and later
1 parent 94c327f commit cf01283

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

puppet/modules/kubernetes/templates/kube-apiserver.service.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ ExecStart=<%= scope['kubernetes::_dest_dir'] %>/apiserver \
8282
<%- if scope['kubernetes::_service_account_key_file'] -%>
8383
--service-account-key-file=<%= scope['kubernetes::_service_account_key_file'] %> \
8484
<% end -%>
85-
<%- if @encryption_config_file -%>
85+
<%- if @post_1_7 and @encryption_config_file -%>
8686
--experimental-encryption-provider-config=<%= @encryption_config_file %> \
8787
<% end -%>
8888
<%- if scope.function_versioncmp([scope['kubernetes::version'], '1.9.0']) >= 0 -%>

0 commit comments

Comments
 (0)