# ECK operator on OpenShift does not take the created self-signed certificate after updating Elasticsearch instance yaml file

**URL:** <https://discuss.elastic.co/t/eck-operator-on-openshift-does-not-take-the-created-self-signed-certificate-after-updating-elasticsearch-instance-yaml-file/284619>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Tags:** elastic-stack-security\
**Created:** [September 20, 2021, 12:11pm UTC](https://discuss.elastic.co/t/eck-operator-on-openshift-does-not-take-the-created-self-signed-certificate-after-updating-elasticsearch-instance-yaml-file/284619 "2021-09-20T12:11:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Inad.mammdov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/inad.mammdov/32/94778_2.png) [@Inad.mammdov](https://discuss.elastic.co/u/Inad.mammdov)\
**Post date:** [September 20, 2021, 12:11pm UTC](https://discuss.elastic.co/t/eck-operator-on-openshift-does-not-take-the-created-self-signed-certificate-after-updating-elasticsearch-instance-yaml-file/284619/1 "2021-09-20T12:11:08Z")

</div>

I have created a self-signed cert on our side, created the secret form the certs and added under spec: http: tls: certificate, but operator does not update the pod, so that elastic pod runs its own cert. Could you please help?

spec:  
monitoring:  
logs: {}  
metrics: {}  
http:  
service:  
metadata: {}  
spec: {}  
tls:  
certificate:  
secretName: Elasticsearch-instance1-es-http-cert

---

<div class="post-metadata">

**Author:** ![sebgl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sebgl/32/48702_2.png) [@sebgl](https://discuss.elastic.co/u/sebgl)\
**Post date:** [September 22, 2021, 6:33am UTC](https://discuss.elastic.co/t/eck-operator-on-openshift-does-not-take-the-created-self-signed-certificate-after-updating-elasticsearch-instance-yaml-file/284619/2 "2021-09-22T06:33:17Z")

</div>

The operator should update the secret content with your certificate, and Elasticsearch is able to hot-reload the certificate files if they change. Pods don't need to be recreated/updated.

---

<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:** [October 20, 2021, 6:33am UTC](https://discuss.elastic.co/t/eck-operator-on-openshift-does-not-take-the-created-self-signed-certificate-after-updating-elasticsearch-instance-yaml-file/284619/3 "2021-10-20T06:33:41Z")

</div>

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