From: khemendra kumar Date: Wed, 4 Aug 2021 12:47:45 +0000 (+0530) Subject: Hawkbit updated for local-path SC X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=c596fff78013f0f114d8d82548ee720438296505;p=eliot.git Hawkbit updated for local-path SC Signed-off-by: khemendra kumar Change-Id: Ia26fb2828ac58fc39f2e2c327dcddb69a40902b1 --- diff --git a/blueprints/iotgateway/playbooks/roles/el_hawkbit/tasks/install.yml b/blueprints/iotgateway/playbooks/roles/el_hawkbit/tasks/install.yml index 44907e4..82704c5 100644 --- a/blueprints/iotgateway/playbooks/roles/el_hawkbit/tasks/install.yml +++ b/blueprints/iotgateway/playbooks/roles/el_hawkbit/tasks/install.yml @@ -26,6 +26,15 @@ ignore_errors: yes no_log: True +- name: local-path storage class setup + command: kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/master/deploy/local-path-storage.yaml + ignore_errors: yes + no_log: True + +- name: setup default class + command: kubectl patch storageclass local-path -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}' + ignore_errors: yes + no_log: True - name: Install hackbit command: helm install eclipse-hawkbit eclipse-iot/hawkbit