Skip to content

Commit

Permalink
some cleverness in the readme ...
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Blain Christen <[email protected]>
  • Loading branch information
dweomer committed Oct 4, 2021
1 parent 08b9136 commit c310093
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ Vagrant.configure("2") do |config|
# type => String || Array<String> || Hash
k3s.env = %w[K3S_KUBECONFIG_MODE=0640 K3S_SELINUX=true]
# or
k3s.env = {
k3s.env = ENV.select{|k| k.start_with?('K3S_') || k.start_with?('INSTALL_K3S_')}.merge({
:K3S_KUBECONFIG_MODE => '0640', # pass this as a string unless you like weird results in your guest ...
:K3S_SELINUX => true,
}
})
# or
k3s.env = <<~ENV
K3S_KUBECONFIG_MODE=0640
Expand Down

0 comments on commit c310093

Please sign in to comment.