File tree Expand file tree Collapse file tree 2 files changed +24
-54
lines changed
linux/kubernetes/minikube/roles/prepare/tasks
onboarding-tests/roles/configure/tasks Expand file tree Collapse file tree 2 files changed +24
-54
lines changed Original file line number Diff line number Diff line change 56
56
- name : Configure minikube driver
57
57
shell : ' minikube config set driver docker'
58
58
when : is_minikube_installed.stdout|int == 0
59
-
59
+
60
60
- name : Start Minikube
61
61
shell : ' minikube start --memory 8192 --cpus 4 --kubernetes-version=v1.26.1'
62
62
70
70
71
71
- name : Get list of pods
72
72
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
+ # Adjust the permissions as needed
82
+ - name : Give all permissions to the Helm binary file
83
+ shell : |
84
+ chmod -R 777 /home/ec2-user/linux-amd64
85
+ become : true
86
+
87
+ - name : Move the Helm executable to a system directory
88
+ shell : mv linux-amd64/helm /usr/local/bin/
89
+ become : true
90
+
91
+ - name : Update the systems's PATH environmenta variable
92
+ shell : echo "export PATH=$:/usr/local/bin/" | sudo tee -a /etc/profile
93
+
94
+ - name : Resolve path issues
95
+ shell : " echo export PATH=$PATH:/usr/bin/ >> ~/.bashrc"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments