mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-10-29 22:03:22 -02:30
collection: rename helm-apps to helm_apps (#13553)
needed for compatibily with Galaxy
This commit is contained in:
@@ -22,7 +22,7 @@ Playbook example:
|
|||||||
- hosts: kube_control_plane[0]
|
- hosts: kube_control_plane[0]
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
roles:
|
roles:
|
||||||
- name: helm-apps
|
- name: helm_apps
|
||||||
releases:
|
releases:
|
||||||
- name: app
|
- name: app
|
||||||
namespace: app
|
namespace: app
|
||||||
@@ -31,9 +31,9 @@ Playbook example:
|
|||||||
namespace: app
|
namespace: app
|
||||||
chart_ref: simple-app/simple-app
|
chart_ref: simple-app/simple-app
|
||||||
wait_timeout: "10m" # override the same option in `release_common_opts`
|
wait_timeout: "10m" # override the same option in `release_common_opts`
|
||||||
repositories: "{{ repos }}"
|
repositories:
|
||||||
- name: simple-app
|
- name: simple-app
|
||||||
url: "https://blog.leiwang.info/simple-app"
|
url: "https://blog.leiwang.info/simple-app"
|
||||||
release_common_opts: "{{ helm_params }}"
|
release_common_opts:
|
||||||
wait_timeout: "5m"
|
wait_timeout: "5m"
|
||||||
```
|
```
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
dependencies:
|
dependencies:
|
||||||
- role: helm-apps
|
- role: helm_apps
|
||||||
when:
|
when:
|
||||||
- inventory_hostname == groups['kube_control_plane'][0]
|
- inventory_hostname == groups['kube_control_plane'][0]
|
||||||
- kubelet_csr_approver_enabled
|
- kubelet_csr_approver_enabled
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
dependencies:
|
dependencies:
|
||||||
- role: helm-apps
|
- role: helm_apps
|
||||||
when:
|
when:
|
||||||
- inventory_hostname == groups['kube_control_plane'][0]
|
- inventory_hostname == groups['kube_control_plane'][0]
|
||||||
- custom_cni_chart_release_name | length > 0
|
- custom_cni_chart_release_name | length > 0
|
||||||
|
|||||||
Reference in New Issue
Block a user