# ECK 1.4.1 dry run is not working

**URL:** <https://discuss.elastic.co/t/eck-1-4-1-dry-run-is-not-working/268021>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [March 22, 2021, 9:23pm UTC](https://discuss.elastic.co/t/eck-1-4-1-dry-run-is-not-working/268021 "2021-03-22T21:23:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Eklund](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mike_eklund/32/45030_2.png) [@Mike\_Eklund](https://discuss.elastic.co/u/Mike_Eklund)\
**Post date:** [March 22, 2021, 9:23pm UTC](https://discuss.elastic.co/t/eck-1-4-1-dry-run-is-not-working/268021/1 "2021-03-22T21:23:05Z")

</div>

ECK dry run is not working giving:

```auto
Error from server (BadRequest): admission webhook "elastic-es-validation-v1.k8s.elastic.co" does not support dry run

```

ES version is 7.9.3.

kubernetes version is v1.18.16

Side effects on the validating web hook are still unknown after 1.4.1 upgrade:

kubectl describe ValidatingWebhookConfiguration [elastic-webhook.k8s.elastic.co](http://elastic-webhook.k8s.elastic.co) | grep "Side Effects"  
Side Effects: Unknown  
Side Effects: Unknown  
Side Effects: Unknown  
Side Effects: Unknown  
Side Effects: Unknown  
Side Effects: Unknown  
Side Effects: Unknown  
Side Effects: Unknown  
Side Effects: Unknown

Is there something I have to do to get them to update to sideEffects=None.

---

<div class="post-metadata">

**Author:** ![charith-elastic](https://avatars.discourse-cdn.com/v4/letter/c/3ec8ea/32.png) [@charith-elastic](https://discuss.elastic.co/u/charith-elastic)\
**Post date:** [March 23, 2021, 8:43am UTC](https://discuss.elastic.co/t/eck-1-4-1-dry-run-is-not-working/268021/2 "2021-03-23T08:43:35Z")

</div>

If you install ECK using the [Helm chart](https://www.elastic.co/guide/en/cloud-on-k8s/1.4/k8s-install-helm.html), the side effects property will be set to the correct value if you are on a Kubernetes version that supports it. If you use the `all-in-one.yaml` method to install ECK, you will need to edit the webhook definition yourself (or use a tool like Kustomize) to set the side effects property manually. This is because the all-in-one is tailored to the lowest common denominator of supported Kubernetes versions and we still support some older versions that are not aware of the side effects property.

---

<div class="post-metadata">

**Author:** ![Mike\_Eklund](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mike_eklund/32/45030_2.png) [@Mike\_Eklund](https://discuss.elastic.co/u/Mike_Eklund)\
**Post date:** [March 23, 2021, 2:57pm UTC](https://discuss.elastic.co/t/eck-1-4-1-dry-run-is-not-working/268021/3 "2021-03-23T14:57:18Z")

</div>

Cool, thanks. I read the parts about setting the correct value itself, and thought that the operator made that decision.

---

<div class="post-metadata">

**Author:** ![Mike\_Eklund](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mike_eklund/32/45030_2.png) [@Mike\_Eklund](https://discuss.elastic.co/u/Mike_Eklund)\
**Post date:** [March 23, 2021, 2:59pm UTC](https://discuss.elastic.co/t/eck-1-4-1-dry-run-is-not-working/268021/4 "2021-03-23T14:59:18Z")

</div>

BTW, is there any guidance or methodology on replacing the all-in-one with the helm chart? The helm chart was in infant when I got started with eck, so I used the all-in-one. I am not specializing anything at the moment.

---

<div class="post-metadata">

**Author:** ![charith-elastic](https://avatars.discourse-cdn.com/v4/letter/c/3ec8ea/32.png) [@charith-elastic](https://discuss.elastic.co/u/charith-elastic)\
**Post date:** [March 23, 2021, 3:25pm UTC](https://discuss.elastic.co/t/eck-1-4-1-dry-run-is-not-working/268021/5 "2021-03-23T15:25:00Z")

</div>

We have migration instructions at [Install ECK using the Helm chart | Elastic Cloud on Kubernetes [1.4] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-install-helm.html#k8s-migrate-to-helm)

---

<div class="post-metadata">

**Author:** ![Mike\_Eklund](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mike_eklund/32/45030_2.png) [@Mike\_Eklund](https://discuss.elastic.co/u/Mike_Eklund)\
**Post date:** [March 23, 2021, 4:20pm UTC](https://discuss.elastic.co/t/eck-1-4-1-dry-run-is-not-working/268021/6 "2021-03-23T16:20:32Z")

</div>

Sorry, I somehow missed that in the manual. Though the instructions _should_ probably include labeling and annotating the elastic-operator configmap. Though I guess it says you can delete everything but the crds.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 20, 2021, 4:21pm UTC](https://discuss.elastic.co/t/eck-1-4-1-dry-run-is-not-working/268021/7 "2021-04-20T16:21:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
