mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-03-26 21:33:02 +00:00
helm: Add complex values example (#108)
This commit is contained in:
2
changelogs/fragments/helm_example.yml
Normal file
2
changelogs/fragments/helm_example.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- helm - add example for complex values in ``helm`` module (https://github.com/ansible-collections/kubernetes.core/issues/109).
|
||||
@@ -204,6 +204,32 @@ EXAMPLES = r'''
|
||||
name: test
|
||||
chart_ref: "https://github.com/grafana/helm-charts/releases/download/grafana-5.6.0/grafana-5.6.0.tgz"
|
||||
release_namespace: monitoring
|
||||
|
||||
# Using complex Values
|
||||
- name: Deploy new-relic client chart
|
||||
kubernetes.core.helm:
|
||||
name: newrelic-bundle
|
||||
chart_ref: newrelic/nri-bundle
|
||||
release_namespace: default
|
||||
force: True
|
||||
wait: True
|
||||
replace: True
|
||||
update_repo_cache: True
|
||||
disable_hook: True
|
||||
values:
|
||||
global:
|
||||
licenseKey: "{{ nr_license_key }}"
|
||||
cluster: "{{ site_name }}"
|
||||
newrelic-infrastructure:
|
||||
privileged: True
|
||||
ksm:
|
||||
enabled: True
|
||||
prometheus:
|
||||
enabled: True
|
||||
kubeEvents:
|
||||
enabled: True
|
||||
logging:
|
||||
enabled: True
|
||||
'''
|
||||
|
||||
RETURN = r"""
|
||||
|
||||
Reference in New Issue
Block a user