generated from ansible-collections/collection_template
-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to deploy newrelic-bundle and says it deployed, but is not #109
Comments
@contd Thanks for reporting this issue. I think you need to specify a dictionary for - name: Deploy new-relic client chart inside new-relic namespace
community.kubernetes.helm:
kubeconfig: "{{artifacts_path}}/{{site_id}}.yaml"
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}}"
global:
cluster: "{{site_name}}"
newrelic-infrastructure:
privileged: True
ksm:
enabled: True
prometheus:
enabled: True
kubeEvents:
enabled: True
logging:
enabled: True
delegate_to: 127.0.0.1 Let me know if it does not work for you? Thanks. |
Holy cow! YES!! It worked. Thank you so much!!!! |
@contd Cool. I will add this example in |
Akasurde
added a commit
to Akasurde/kubernetes.core
that referenced
this issue
May 19, 2021
Specifying complex values using helm module is documented. Fixes: ansible-collections#109 Signed-off-by: Abhijeet Kasurde <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SUMMARY
I setup a helm install task to install the new relic client bundle based on the documentation of the helm command. The helm install from CLI with the same values/options works but running the ansible helm install doesn't work. The ansible output says it was deployed and no errors but when I check the kubenetes cluster none of the PODs or DaemonSets are there as they are when helm is run from the CLI. I've checked every option and setting I can think if but cannot seem to figure out where else to look for errors or messages that might help track down the problem.
ISSUE TYPE
COMPONENT NAME
community.kubernetes.helm
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Mac OS 11.3
STEPS TO REPRODUCE
Just need to make sure the ansible community.kubernetes and run the ansible-playbook with the below yaml file and the -e options for the variables below in {{xxx}}.
EXPECTED RESULTS
There should be 2 DaemonSets and 7 PODs running like so (from the new relic doc):
ACTUAL RESULTS
The playbook runs the 1 task and says it was deployed. The output below is for the task
The text was updated successfully, but these errors were encountered: