Skip to content

Commit

Permalink
Merge pull request #1124 from newrelic/NR-221222
Browse files Browse the repository at this point in the history
feat(K8s): Update K8s deploy config
  • Loading branch information
abasha1234 authored Oct 9, 2024
2 parents 662f925 + 137101f commit b87d83c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
- name: Configure minikube driver
shell: 'minikube config set driver docker'
when: is_minikube_installed.stdout|int == 0

- name: Start Minikube
shell: 'minikube start --memory 8192 --cpus 4 --kubernetes-version=v1.26.1'

Expand All @@ -70,3 +70,26 @@

- name: Get list of pods
shell: 'kubectl get pods --all-namespaces'

- name: Download the Helm binary
shell: 'wget https://get.helm.sh/helm-v3.8.0-linux-amd64.tar.gz'
become: true

- name: Extract the Helm archive
shell: 'tar -xvf helm-v3.8.0-linux-amd64.tar.gz'

# Adjust the permissions as needed
- name: Give all permissions to the Helm binary file
shell: |
chmod -R 777 /home/ec2-user/linux-amd64
become: true

- name: Move the Helm executable to a system directory
shell: mv linux-amd64/helm /usr/local/bin/
become: true

- name: Update the systems's PATH environmenta variable
shell: echo "export PATH=$:/usr/local/bin/" | sudo tee -a /etc/profile

- name: Resolve path issues
shell: "echo export PATH=$PATH:/usr/bin/ >> ~/.bashrc"
53 changes: 0 additions & 53 deletions test/deploy/onboarding-tests/roles/configure/tasks/main.yml

This file was deleted.

0 comments on commit b87d83c

Please sign in to comment.