Skip to content

Commit c73a302

Browse files
authored
Add Go to k8shost; comment out prom-operator (#223)
1 parent 2464d77 commit c73a302

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ install:
1919
./scripts/deploy-community-operator.sh
2020
./scripts/manage-service.sh deploy
2121
./scripts/deploy-network-policies.sh
22-
./scripts/install-prometheus-operator.sh
23-
./scripts/deploy-operator-crd-scaling.sh
22+
# ./scripts/install-prometheus-operator.sh
23+
# ./scripts/deploy-operator-crd-scaling.sh
2424

2525
# creates a k8s cluster instance
2626
rebuild-cluster:

config/vagrant/Vagrantfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ Vagrant.configure('2') do |config|
1515
vb.customize ['modifyvm', :id, '--graphicscontroller', 'vmsvga']
1616
end
1717

18+
# Install Go
19+
k8shost.vm.provision 'shell',
20+
path: 'scripts/bootstrap-golang.sh',
21+
privileged: false
22+
1823
# Configures docker.
1924
k8shost.vm.provision 'shell',
2025
path: 'scripts/bootstrap-docker.sh',

config/vagrant/scripts/bootstrap-docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
dnf update -y
2+
sudo dnf update -y
33
echo "192.168.56.10 k8shost" >> /etc/hosts
44

55
# Adding docker repository
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
sudo dnf update -y
3+
sudo dnf install golang -y

0 commit comments

Comments
 (0)