Skip to content

Commit 8bb1ca3

Browse files
committed
helm repo update without installing helm
1 parent d7142dc commit 8bb1ca3

File tree

1 file changed

+1
-3
lines changed
  • kubetest2-tf/data/k8s-ansible/roles/install-monitoring/tasks

1 file changed

+1
-3
lines changed

kubetest2-tf/data/k8s-ansible/roles/install-monitoring/tasks/main.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,14 @@
1717
repo_url: "{{ helm_repo_url }}"
1818
state: present
1919

20-
- name: Perform Helm repo update
21-
ansible.builtin.command: helm repo update
22-
2320
- name: Copy helm chart values files
2421
copy:
2522
src: "{{ helm_custom_values }}"
2623
dest: /tmp/
2724

2825
- name: Install or upgrade kube-prometheus-stack chart
2926
kubernetes.core.helm:
27+
update_repo_cache: yes
3028
name: "{{ helm_release_name }}"
3129
chart_ref: "{{ helm_chart_name }}"
3230
namespace: "{{ helm_namespace }}"

0 commit comments

Comments
 (0)