From 111c06ce05719c16829e75e702530b6580c64e14 Mon Sep 17 00:00:00 2001 From: djpbessems Date: Mon, 2 May 2022 10:35:02 +0200 Subject: [PATCH] Retry with specific storageclass --- playbook.yml | 4 +++- vars/applications.k3s.yml | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/playbook.yml b/playbook.yml index b47f3fa..f8cdaf4 100644 --- a/playbook.yml +++ b/playbook.yml @@ -215,7 +215,9 @@ chart_ref: "{{ item.ref }}" namespace: "{{ item.namespace }}" create_namespace: yes - # wait: yes + wait: yes kubeconfig: "{{ kubeconfig.path }}" values: "{{ item.setvalues | default(omit) }}" loop: "{{ helm.charts }}" + throttle: 1 + diff --git a/vars/applications.k3s.yml b/vars/applications.k3s.yml index 5ea889f..aa8dd80 100644 --- a/vars/applications.k3s.yml +++ b/vars/applications.k3s.yml @@ -41,6 +41,9 @@ helm: paths: - path: / pathType: Prefix + persistence: + enabled: true + storageClass: longhorn # gitea: # admin: # #existingSecret: gitea-admin-secret