Skip to content

Commit

Permalink
bootstrap-config
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Petrov committed Feb 8, 2018
1 parent c76e859 commit 6a18b55
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions manifests/node/kubelet.pp
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@
# Comma-separated whitelist of unsafe sysctls or unsafe sysctl patterns (ending in *). Use these at your own risk.
# Defaults to undef
#
# [*experimental_bootstrap_kubeconfig*]
# <Warning: Experimental feature> Path to a kubeconfig file that will be used to get client certificate for kubelet.
# [*bootstrap_kubeconfig*]
# Path to a kubeconfig file that will be used to get client certificate for kubelet.
# If the file specified by --kubeconfig does not exist, the bootstrap kubeconfig is used to request a client certificate
# from the API server. On success, a kubeconfig file referencing the generated key and obtained certificate is written
# to the path specified by --kubeconfig. The certificate and key file will be stored in the directory pointed by --cert-dir.
Expand Down Expand Up @@ -566,7 +566,7 @@
$eviction_soft_grace_period = $kubernetes::node::params::kubelet_eviction_soft_grace_period,
$exit_on_lock_contention = $kubernetes::node::params::kubelet_exit_on_lock_contention,
$experimental_allowed_unsafe_sysctls = $kubernetes::node::params::kubelet_experimental_allowed_unsafe_sysctls,
$experimental_bootstrap_kubeconfig = $kubernetes::node::params::kubelet_experimental_bootstrap_kubeconfig,
$bootstrap_kubeconfig = $kubernetes::node::params::kubelet_bootstrap_kubeconfig,
$experimental_cgroups_per_qos = $kubernetes::node::params::kubelet_experimental_cgroups_per_qos,
$experimental_check_node_capabilities_before_mount = $kubernetes::node::params::kubelet_experimental_check_node_capabilities_before_mount,
$experimental_cri = $kubernetes::node::params::kubelet_experimental_cri,
Expand Down
2 changes: 1 addition & 1 deletion manifests/node/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
$kubelet_eviction_soft_grace_period = undef
$kubelet_exit_on_lock_contention = undef
$kubelet_experimental_allowed_unsafe_sysctls = undef
$kubelet_experimental_bootstrap_kubeconfig = undef
$kubelet_bootstrap_kubeconfig = undef
$kubelet_experimental_cgroups_per_qos = undef
$kubelet_experimental_check_node_capabilities_before_mount = undef
$kubelet_experimental_cri = undef
Expand Down
4 changes: 2 additions & 2 deletions templates/etc/kubernetes/kubelet.erb
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ KUBELET_ARGS="<% -%>
<% if @experimental_allowed_unsafe_sysctls -%>
--experimental-allowed-unsafe-sysctls=<%= scope['kubernetes::node::kubelet::experimental_allowed_unsafe_sysctls'] -%>
<% end -%>
<% if @experimental_bootstrap_kubeconfig -%>
--experimental-bootstrap-kubeconfig=<%= scope['kubernetes::node::kubelet::experimental_bootstrap_kubeconfig'] -%>
<% if @bootstrap_kubeconfig -%>
--bootstrap-kubeconfig=<%= scope['kubernetes::node::kubelet::bootstrap_kubeconfig'] -%>
<% end -%>
<% if @experimental_cgroups_per_qos -%>
--experimental-cgroups-per-qos=<%= scope['kubernetes::node::kubelet::experimental_cgroups_per_qos'] -%>
Expand Down

0 comments on commit 6a18b55

Please sign in to comment.