Hi Siva,

Let me try to reproduce this and get back to you.

On Wed, Mar 31, 2021 at 3:24 PM siva bagavathy <[email protected]>
wrote:

> Hi Team,
>
> Could you help me with the above-said issue please?
>
> Thanks,
> Siva
>
> On Tuesday, March 30, 2021 at 5:44:26 PM UTC+5:30 siva bagavathy wrote:
>
>> Hi All,
>>
>> I am trying to do helm install using Ansible Kubernetes packages with the
>> Helm package manager modules.
>>
>> If I use the below command in Ansible shell, the helm deployment is a
>> success.
>>
>> - name: install_nr_kubernetes_integration
>>       shell: /usr/local/bin/helm upgrade --install newrelic
>> newrelic/nri-bundle --set global.licenseKey={{ new_relic_key }} --set
>> global.cluster={{ gcp_cluster }} --set infrastructure.enabled=true --set
>> prometheus.enabled=true --set webhook.enabled=true --set ksm.enabled=true
>> --set kubeEvents.enabled=true --set logging.enabled=true
>>
>> If I try to use the  Ansible Kubernetes packages with the Helm package
>> manager modules, the helm deployment is not deployed as expected.
>>
>> ---
>>
>> - name: install-new-relic-bundle
>>   hosts: all
>>   become: yes
>>   gather_facts: false
>>   vars_files:
>>     - test-vars.yml
>>
>>   tasks:
>>     - name: integrate-new-relic-and-prometheus-with-cluster
>>       community.kubernetes.helm:
>>         binary_path: "/usr/local/bin/helm"
>>         release_namespace: default
>>         name: newrelic
>>         chart_ref: newrelic/nri-bundle
>>         values:
>>           global.cluster: "{{ gcp_cluster }}"
>>           global.licenseKey: "{{ new_relic_key }}"
>>           infrastructure.enabled: true
>>           prometheus.enabled: true
>>
>> As am not sure what is the issue and how to map / convert the plan helm
>> install command to ansible kubernets/helm module, please help fix this
>> issue.
>>
>> Thanks,
>> Siva
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/3cf344ed-b6f9-4e07-85e3-21fadcaf1e76n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/3cf344ed-b6f9-4e07-85e3-21fadcaf1e76n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Thanks,
Abhijeet Kasurde

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAFwWkHoxcE46KkkmHmyjV4z6D%2BWFA1u_tyHZPaxPqewW49CMsQ%40mail.gmail.com.

Reply via email to