tigera / operator

Kubernetes operator for installing Calico and Calico Enterprise
Apache License 2.0
182 stars 138 forks source link

is there anyway to config labels for calico-system and calico-apiserver using tigera operator #3226

Open zoezhangmattr opened 6 months ago

zoezhangmattr commented 6 months ago

Expected Behavior

can add label, for example add label to ignore linkerd webhook.

Current Behavior

tigera operator manages the creation of calico-apiserver and calico-system namespace creation, there is no way to label these namespaces

Possible Solution

Steps to Reproduce (for bugs)

1. 2. 3. 4.

Context

Your Environment

tmjd commented 6 days ago

Currently there is not a way to specify a label for these namespaces. I believe it is possible to label the namespaces after they are created. I think the operator will merge the labels, assuming none of the labels you are setting are used by the operator, any that you set should be retained.