Browse Source

Add stable repo on all masters with helm 3.x.x (#5659)

pull/5588/head
Erwan Miran 4 years ago
committed by GitHub
parent
commit
a5445d9c5c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions
  1. 7
      roles/kubernetes-apps/helm/tasks/main.yml

7
roles/kubernetes-apps/helm/tasks/main.yml

@ -101,6 +101,13 @@
- helm_version is version('v3.0.0', '<')
environment: "{{ proxy_env }}"
- name: Helm | Add/update stable repo on all masters
command: "{{ bin_dir }}/helm repo add stable {{ helm_stable_repo_url }}"
environment: "{{ proxy_env }}"
when:
- helm_version is version('v3.0.0', '>=')
- helm_stable_repo_url is defined
- name: Make sure bash_completion.d folder exists
file:
name: "/etc/bash_completion.d/"

Loading…
Cancel
Save