Skip to content

Commit

Permalink
feat(350): install kind via asdf
Browse files Browse the repository at this point in the history
References #252, #350.
smoyer64 committed Sep 13, 2022
1 parent 203c1be commit 050a928
Showing 4 changed files with 7 additions and 22 deletions.
5 changes: 5 additions & 0 deletions roles/asdf/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -47,6 +47,11 @@
tags:
- asdf

# TODO: add bash completion for bazel
# TODO: add bash completion for kind
# TODO: add bash completion for kubectx
# TODO: add bash completion for kubens

- name: hook direnv into the bash shell
blockinfile:
path: ~/.bashrc
1 change: 1 addition & 0 deletions roles/asdf/vars/main.yml
Original file line number Diff line number Diff line change
@@ -24,6 +24,7 @@ tools:
- { name: "golang", version: "{{ golang_version }}"}
- { name: "k6", version: "{{ k6_version }}"}
- { name: "k9s", version: "{{ k9s_version }}"}
- { name: "kind", version: "{{ kind_version }}"}
- { name: "krew", version: "{{ krew_version }}"}
- { name: "kubectl", version: "{{ kubectl_version }}"}
- { name: "kubectx", version: "{{ kubectx_version }}"}
22 changes: 0 additions & 22 deletions roles/containerization/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -122,28 +122,6 @@
- kubernetes
- microk8s

#
# kind
#

- include: "../../install_go_programs.yml"
vars:
name: "install kind"
packages:
- "sigs.k8s.io/kind@latest"
tags:
- containerization
- Kubernetes
- kind

- name: add kind's bash completion
shell: /usr/share/go-tools/bin/kind completion bash > /etc/bash_completion.d/kind
when: "go_get_result.changed"
tags:
- containerization
- Kubernetes
- kind

#
# Helm
#
1 change: 1 addition & 0 deletions versions.yml
Original file line number Diff line number Diff line change
@@ -17,6 +17,7 @@ direnv_version: latest
golang_version: latest
k6_version: latest
k9s_version: latest
kind_version: latest
krew_version: latest
kubectl_version: latest
kubectx_version: latest

0 comments on commit 050a928

Please sign in to comment.