splunk / splunk-connect-for-kubernetes

Helm charts associated with kubernetes plug-ins
Apache License 2.0
344 stars 270 forks source link

Deploy splunk-kubernetes-objects did not get tolerations defined in values.yaml for helm chart #851

Closed udhos closed 1 year ago

udhos commented 1 year ago

What happened: Deploy splunk-kubernetes-objects did not get tolerations defined in values.yaml for helm chart

What you expected to happen: Deploy splunk-kubernetes-objects should get tolerations from values.yaml for helm chart

How to reproduce it (as minimally and precisely as possible):

  1. Edit value.yaml with the tolerations you want:
  tolerations:
    - key: toleration-test
      effect: NoSchedule
  1. Render the chart 1.5.2 using values.yaml:
helm template splunk/splunk-connect-for-kubernetes --version 1.5.2 --values values.yaml > /tmp/eraseme.yaml
  1. Look for deploy splunk-kubernetes-objects at file /tmp/eraseme.yaml, it will not contain the tolerations

Anything else we need to know?:

We need to add tolerations to control nodes where splunk-kubernetes-objects pods will run on.

Environment:

udhos commented 1 year ago

I have found my mistake, sorry for the noise.