# Labels missing from Namespace definition in 1.6.0

**URL:** <https://discuss.elastic.co/t/labels-missing-from-namespace-definition-in-1-6-0/276631>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [June 22, 2021, 10:05am UTC](https://discuss.elastic.co/t/labels-missing-from-namespace-definition-in-1-6-0/276631 "2021-06-22T10:05:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkaramol](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pkaramol/32/22610_2.png) [@pkaramol](https://discuss.elastic.co/u/pkaramol)\
**Post date:** [June 22, 2021, 10:05am UTC](https://discuss.elastic.co/t/labels-missing-from-namespace-definition-in-1-6-0/276631/1 "2021-06-22T10:05:15Z")

</div>

The `Namespace` definition in `1.5.0` is the following:

```auto
# Source: eck-operator/templates/operator-namespace.yaml
apiVersion: v1
kind: Namespace
metadata:
  name: elastic-system
  labels:
    name: elastic-system
    control-plane: elastic-operator
    app.kubernetes.io/version: "1.5.0"

```

In `1.6.0` it becomes as follows:

```auto
# Source: eck-operator/templates/operator-namespace.yaml
apiVersion: v1
kind: Namespace
metadata:
  name: elastic-system
  labels:
    name: elastic-system

```

Is the removal of those 2 labels intentional?

```auto
    control-plane: elastic-operator
    app.kubernetes.io/version: "1.5.0"

```

---

<div class="post-metadata">

**Author:** ![pebrc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pebrc/32/101790_2.png) [@pebrc](https://discuss.elastic.co/u/pebrc)\
**Post date:** [June 22, 2021, 10:19am UTC](https://discuss.elastic.co/t/labels-missing-from-namespace-definition-in-1-6-0/276631/2 "2021-06-22T10:19:32Z")

</div>

Yes this was an intentional change to remove an incompatibility with istio. See [Istio sidecar is not injected into operator automatically · Issue #4395 · elastic/cloud-on-k8s · GitHub](https://github.com/elastic/cloud-on-k8s/issues/4395) for context.

---

<div class="post-metadata">

**Author:** ![pkaramol](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pkaramol/32/22610_2.png) [@pkaramol](https://discuss.elastic.co/u/pkaramol)\
**Post date:** [June 22, 2021, 12:58pm UTC](https://discuss.elastic.co/t/labels-missing-from-namespace-definition-in-1-6-0/276631/3 "2021-06-22T12:58:11Z")

</div>

I had no problem injecting `istio` with `1.5.0`. (I am in the process of upgrading to `1.6.0`)

This (`1.5.0`) was my first installation (the version I started with) however (not an upgrade) fwiw.

```auto
▶ istioctl version --remote
client version: 1.9.4
control plane version: 1.9.5
data plane version: 1.9.5 (116 proxies)
                                                                                                                                                                                      2h15m  
▶ kubectl get pods -n elastic-system -o jsonpath="{.items[*].spec.containers[*].name}" |\
tr -s '[[:space:]]' '\n' |\
sort |\
uniq -c
   1 istio-proxy
   1 manager

▶ k get pods -n elastic-system                                                           
NAME READY STATUS RESTARTS AGE
elastic-operator-0 2/2 Running 0 3d3h

▶ k get es                    
NAME HEALTH NODES VERSION PHASE AGE
mycluster green 3 7.12.1 Ready 4d4h

▶ kubectl get pods -n elastic-system -o jsonpath="{.items[*].spec.containers[*].image}" |\
tr -s '[[:space:]]' '\n'
docker.io/istio/proxyv2:1.9.5
docker.elastic.co/eck/eck-operator:1.5.0

```

---

<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:** [July 20, 2021, 12:58pm UTC](https://discuss.elastic.co/t/labels-missing-from-namespace-definition-in-1-6-0/276631/4 "2021-07-20T12:58:21Z")

</div>

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