This adds the expected labels and annotations to the namespaces that automatically come with a helm installation.
Closes https://github.com/linkerd/linkerd2/issues/7298
I agree to the DCO for all the commits in this PR.
* update 2.12 docs to use `linkerd install --crds` before `install`
The Linkerd CRDs must be installed before installing the control plane.
Most of the "Tasks" docs that require Linkerd to be installed just
reference the "Install" task, which demonstrates the use of
`install --crds`. However, some of the docs demonstrate alternative
configurations or installation methods, and actually show running the
`install` command. Many of those docs don't indicate that
`linkerd install --crds` must be run first.
This branch updates the 2.12 "Tasks" docs to show the use of
`linkerd install --crds` prior to running a `linkerd install` command. I
think I got all of them?
I didn't add `install --crds` in a couple of places where the install
command is not piped directly into `kubectl apply`. For example, in the
private docker registry documentation, we show piping `linkerd install`
into `grep` to get the docker image versions, and in that case, we are
not actually installing Linkerd into a cluster in that command example,
so the installation won't actually fail.
* update helm install instructions too
In several places, the "Tasks" documentation shows applying a Kubernetes
manifest by `cat`ing a heredoc and piping it into `kubectl apply -f -`.
In most cases, the `cat <<EOF | kubectl apply -f -` is unneeded, and can
be simplified to just `kubectl apply -f - <<EOF`.
I didn't touch the cases where the yaml is first piped into `linkerd
inject -` and *then* into `kubectl apply`, as the cat is necessary as
the first stage in those pipelines (I think).
Big bang merge of 2.12 docs into main.
Signed-off-by: Flynn <flynn@buoyant.io>
Signed-off-by: Alex Leong <alex@buoyant.io>
Signed-off-by: Matei David <matei@buoyant.io>
Co-authored-by: Alejandro Pedraza <alejandro@buoyant.io>
Co-authored-by: Matei David <matei@buoyant.io>
Co-authored-by: Oliver Gould <ver@buoyant.io>
Co-authored-by: Flynn <flynn@buoyant.io>
Co-authored-by: Flynn <kflynn@users.noreply.github.com>
Co-authored-by: Alex Leong <alex@buoyant.io>
Co-authored-by: William Morgan <william@buoyant.io>