diff options
author | Patrick Spek <p.spek@tyil.nl> | 2022-07-25 16:55:19 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2022-07-25 16:55:19 +0200 |
commit | 2f4812255c4cd2b7879a70803c93de108f0d8c7f (patch) | |
tree | 5dece411ab1ced87cdbb3d49e8d9721f5c3f51a0 /playbooks.d/k3s/playbook.bash | |
parent | 431fafbfbbb02db33758d531e1ea2adc425c36d6 (diff) |
Set KUBECONFIG for helm usage
Diffstat (limited to 'playbooks.d/k3s/playbook.bash')
-rw-r--r-- | playbooks.d/k3s/playbook.bash | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/playbooks.d/k3s/playbook.bash b/playbooks.d/k3s/playbook.bash index 850669d..b0b39ad 100644 --- a/playbooks.d/k3s/playbook.bash +++ b/playbooks.d/k3s/playbook.bash @@ -20,6 +20,9 @@ playbook_add() { info "$BASHTARD_PLAYBOOK" "Installing k3s" curl -sfL https://get.k3s.io | sh - # I hate this + export KUBECONFIG=/etc/rancher/k3s/k3s.yaml + export HELM_KUBECONTEXT=default + info "$BASHTARD_PLAYBOOK" "Setting up Helm repositories" helm repo add nginx-stable https://helm.nginx.com/stable helm repo update |