You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We decided not honoring Helm's --namespace option because it would make helm install create the namespace itself without the metadata we require and it would also fail when it attempts to create it again when it stumbles across our namespace.yaml template.
That was for v2. In Helm v3 --namespacedoesn't attempt to create the namespace. Users are expected to use a separate tool for that, and if the namespace is not already there then helm install will fail (it doesn't even get to the point of namespace.yaml unlike above with v2).
If the user doesn't use --namespace in v3 then linkerd will get properly installed in the linkerd namespace, but the secret used by Helm to keep track of the release (now that Tiller is gone) will live in the default namespace. I'm not sure how can that affect tightly restricted clusters.
I just wanted for us to be aware of this new behavior in v3. If we wanted to support --namespace we'd have to remove namespace.yaml from the chart and provide instructions on how to generate the namespace beforehand with the appropriate metadata.
The text was updated successfully, but these errors were encountered:
We decided not honoring Helm's
--namespace
option because it would makehelm install
create the namespace itself without the metadata we require and it would also fail when it attempts to create it again when it stumbles across ournamespace.yaml
template.That was for v2. In Helm v3
--namespace
doesn't attempt to create the namespace. Users are expected to use a separate tool for that, and if the namespace is not already there thenhelm install
will fail (it doesn't even get to the point ofnamespace.yaml
unlike above with v2).If the user doesn't use
--namespace
in v3 then linkerd will get properly installed in thelinkerd
namespace, but the secret used by Helm to keep track of the release (now that Tiller is gone) will live in the default namespace. I'm not sure how can that affect tightly restricted clusters.I just wanted for us to be aware of this new behavior in v3. If we wanted to support
--namespace
we'd have to removenamespace.yaml
from the chart and provide instructions on how to generate the namespace beforehand with the appropriate metadata.The text was updated successfully, but these errors were encountered: