From 1860d8e2dd557e703d8643ccc6f45b43317b6208 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Tue, 18 Apr 2023 21:50:26 +0200 Subject: [PATCH] Configure longhorn through node label;Update version --- .../bootstrap/templates/kustomization.nodepool.j2 | 4 ++++ ansible/vars/metacluster.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/kustomization.nodepool.j2 b/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/kustomization.nodepool.j2 index 8a1dd95..eff0edc 100644 --- a/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/kustomization.nodepool.j2 +++ b/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/kustomization.nodepool.j2 @@ -24,6 +24,10 @@ patchesStrategicMerge: - device: /dev/sdb layout: true tableType: gpt + joinConfiguration: + nodeRegistration: + kubeletExtraArgs: + node-labels: "node.longhorn.io/create-default-disk=true" mounts: - - LABEL=blockstorage - /mnt/blockstorage diff --git a/ansible/vars/metacluster.yml b/ansible/vars/metacluster.yml index d01e1dd..69a13fa 100644 --- a/ansible/vars/metacluster.yml +++ b/ansible/vars/metacluster.yml @@ -346,7 +346,7 @@ dependencies: url: https://github.com/patrickdappollonio/kubectl-slice/releases/download/v1.2.5/kubectl-slice_linux_x86_64.tar.gz archive: compressed - filename: skopeo - url: https://code.spamasaurus.com/api/packages/djpbessems/generic/skopeo/v1.11.1/skopeo_linux_amd64 + url: https://code.spamasaurus.com/api/packages/djpbessems/generic/skopeo/v1.12.0/skopeo_linux_amd64 - filename: step url: https://dl.step.sm/gh-release/cli/gh-release-header/v0.23.0/step_linux_0.23.0_amd64.tar.gz archive: compressed