X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=blueprints%2Fiotgateway%2Fplaybooks%2Froles%2Fel_hawkbit%2Ftasks%2Finstall.yml;h=82704c59c3beff08c475e92b8775112a6bccbf1d;hb=c596fff78013f0f114d8d82548ee720438296505;hp=b9d271460990d2867cfd980b35c78c8fe0b0b5bd;hpb=f75c64c6e0356812802c13fcce14b3d4c7569d47;p=eliot.git diff --git a/blueprints/iotgateway/playbooks/roles/el_hawkbit/tasks/install.yml b/blueprints/iotgateway/playbooks/roles/el_hawkbit/tasks/install.yml index b9d2714..82704c5 100644 --- a/blueprints/iotgateway/playbooks/roles/el_hawkbit/tasks/install.yml +++ b/blueprints/iotgateway/playbooks/roles/el_hawkbit/tasks/install.yml @@ -18,9 +18,25 @@ - name: Hawkbit add repo command: helm repo add eclipse-iot https://eclipse.org/packages/charts + ignore_errors: yes + no_log: True - name: Update helm repo command: helm repo update + 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 + ignore_errors: yes + no_log: True