Skip to content

Commit c1d1945

Browse files
authored
Component updates, new deployment image. (#53)
* Component updates, new deployment image. * Download images through HTTPS.
1 parent 8150ebc commit c1d1945

File tree

6 files changed

+11
-8
lines changed

6 files changed

+11
-8
lines changed

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ control-plane: control-plane-bake env
3030

3131
.PHONY: partition-bake
3232
partition-bake:
33-
ifeq (,$(wildcard ./.vagrant_version_host_system))
3433
@vagrant version | grep "Installed Version" | cut -d: -f 2 | tr -d '[:space:]' > .vagrant_version_host_system
35-
endif
3634
vagrant up
3735

3836
.PHONY: partition

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ This project can also be used as a template for writing your own metal-stack dep
2121
## Requirements
2222

2323
- Linux machine with hardware virtualization support
24-
- [Vagrant](https://www.vagrantup.com/) == 2.2.9 with vagrant-libvirt plugin >= 0.1.2 (for running the switch and machine VMs)
24+
- [Vagrant](https://www.vagrantup.com/) == 2.2.14 with vagrant-libvirt plugin >= 0.3.0 (for running the switch and machine VMs)
2525
- kvm as hypervisor for the VMs
2626
- Ubuntu 20.04:
2727

2828
sudo apt install -y qemu qemu-kvm libvirt-daemon bridge-utils virtinst libvirt-dev
2929

3030
- [docker](https://www.docker.com/) >= 18.09 (for using kind and our deployment base image)
3131
- [docker-compose](https://docs.docker.com/compose/) >= 1.25.4 (for ease of use and for parallelizing control plane and partition deployment)
32-
- [kind](https://github.com/kubernetes-sigs/kind/releases) == v0.8.1 (for hosting the metal control plane on a kubernetes cluster v1.18.2)
32+
- [kind](https://github.com/kubernetes-sigs/kind/releases) == v0.9.0 (for hosting the metal control plane on a kubernetes cluster v1.19.1)
3333
- [ovmf](https://wiki.ubuntu.com/UEFI/OVMF) to have a uefi firmware for virtual machines
3434
- the lab creates a virtual network 192.168.121.0/24 on your host machine, this hopefully does not overlap with other networks you have
3535
- (recommended) haveged to have enough random entropy (only needed if the PXE process does not work)

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ services:
1414
# - ${HOME}/.ansible/roles/ansible-common:/root/.ansible/roles/ansible-common:ro
1515
# - ${HOME}/.ansible/roles/metal-roles:/root/.ansible/roles/metal-roles:ro
1616
# - ${HOME}/.ansible/roles/metal-ansible-modules:/root/.ansible/roles/metal-ansible-modules:ro
17+
# - ${HOME}/git/github.com/metal-stack/helm-charts:/helm-charts:ro
1718
environment:
1819
- ANSIBLE_CONFIG=/mini-lab/ansible.cfg
1920
- KUBECONFIG=/mini-lab/.kubeconfig

env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ yq_shell() {
99
METAL_STACK_RELEASE_VERSION=$(yq_shell "yq r inventories/group_vars/all/images.yaml 'metal_stack_release_version'")
1010
RELEASE_YAML=$(curl -s https://raw.githubusercontent.com/metal-stack/releases/${METAL_STACK_RELEASE_VERSION}/release.yaml)
1111
METALCTL_IMAGE_TAG=$(yq_shell "echo \"${RELEASE_YAML}\" | yq r - docker-images.metal-stack.control-plane.metalctl.tag")
12-
DEPLOYMENT_BASE_IMAGE_TAG=$(yq_shell "echo \"${RELEASE_YAML}\" | yq r - docker-images.metal-stack.generic.deployment-base.tag")
12+
DEPLOYMENT_BASE_IMAGE_TAG=$(yq_shell "echo \"${RELEASE_YAML}\" | yq r - docker-images.metal-stack.generic.deployment-base.tag")-vagrant
1313

1414
cat << EOF > .env
1515
METALCTL_IMAGE_TAG=${METALCTL_IMAGE_TAG}
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
metal_stack_release_version: v0.4.1
1+
---
2+
# FIXME: has to be pinned to next metal-stack version before next release
3+
metal_stack_release_version: develop

inventories/group_vars/control-plane/metal.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
metal_set_resource_limits: no
33
metal_check_api_health_endpoint: http://api.0.0.0.0.xip.io:8080/metal/v1/health
44

5+
# metal_helm_chart_local_path: /helm-charts/charts/metal-control-plane
6+
57
metal_api_replicas: 1
68
metal_api_view_key: metal-view
79
metal_api_edit_key: metal-edit
@@ -13,13 +15,13 @@ metal_api_images:
1315
- id: firewall-ubuntu-2.0.20201126
1416
name: Firewall 2 Ubuntu 20201126
1517
description: Firewall 2 Ubuntu 20201126
16-
url: http://images.metal-stack.io/metal-os/master/firewall/2.0-ubuntu/20201126/img.tar.lz4
18+
url: https://images.metal-stack.io/metal-os/master/firewall/2.0-ubuntu/20201126/img.tar.lz4
1719
features:
1820
- firewall
1921
- id: ubuntu-20.04.20201126
2022
name: Ubuntu 20.04 20201126
2123
description: Ubuntu 20.04 20201126
22-
url: http://images.metal-stack.io/metal-os/master/ubuntu/20.04/20201126/img.tar.lz4
24+
url: https://images.metal-stack.io/metal-os/master/ubuntu/20.04/20201126/img.tar.lz4
2325
features:
2426
- machine
2527

0 commit comments

Comments
 (0)