Skip to content

Commit 2459396

Browse files
committed
feat(K8s): Update K8s deploy config
1 parent 662f925 commit 2459396

File tree

2 files changed

+18
-54
lines changed
  • test/deploy
    • linux/kubernetes/minikube/roles/prepare/tasks
    • onboarding-tests/roles/configure/tasks

2 files changed

+18
-54
lines changed

test/deploy/linux/kubernetes/minikube/roles/prepare/tasks/main.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
- name: Configure minikube driver
5757
shell: 'minikube config set driver docker'
5858
when: is_minikube_installed.stdout|int == 0
59-
59+
6060
- name: Start Minikube
6161
shell: 'minikube start --memory 8192 --cpus 4 --kubernetes-version=v1.26.1'
6262

@@ -70,3 +70,20 @@
7070

7171
- name: Get list of pods
7272
shell: 'kubectl get pods --all-namespaces'
73+
74+
- name: Download the Helm binary
75+
shell: 'wget https://get.helm.sh/helm-v3.8.0-linux-amd64.tar.gz'
76+
become: true
77+
78+
- name: Extract the Helm archive
79+
shell: 'tar -xvf helm-v3.8.0-linux-amd64.tar.gz'
80+
81+
- name: Move the Helm executable to a system directory
82+
shell: mv linux-amd64/helm /usr/local/bin/
83+
become: true
84+
85+
- name: Update the systems's PATH environmenta variable
86+
shell: echo "export PATH=$:/usr/local/bin/" | sudo tee -a /etc/profile
87+
88+
- name: Resolve path issues
89+
shell: "echo export PATH=$PATH:/usr/bin/ >> ~/.bashrc"

test/deploy/onboarding-tests/roles/configure/tasks/main.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)