linkerd / linkerd/website

Update checks docs to include instructions for webhooks

Open
#402 3 comments 0 reactions 1 assignee View on GitHub

@cpretzer is already working on this.

Since Jul 9, 2019.

Dominant language
JavaScript
Stars
60
Forks
221
Avg merge
4h 32m
Merged PRs (30d)
1

Description

The `linkerd check --pre` command can output details about existing webhooks and custom resource definitions and the docs don't mention how to go about checking those resources and removing them.

This issue is meant to add documentation to help users to inspect the resources so that they can run `linkerd check --pre` without any warnings or errors.

Sample output from the check command is:.

`pre-linkerd-global-resources
----------------------------
√ no ClusterRoles exist
√ no ClusterRoleBindings exist
× no CustomResourceDefinitions exist
CustomResourceDefinitions found but should not exist: serviceprofiles.linkerd.io
see https://linkerd.io/checks/#pre-l5d-existence for hints
× no MutatingWebhookConfigurations exist
MutatingWebhookConfigurations found but should not exist: linkerd-proxy-injector-webhook-config
see https://linkerd.io/checks/#pre-l5d-existence for hints
× no ValidatingWebhookConfigurations exist
ValidatingWebhookConfigurations found but should not exist: linkerd-sp-validator-webhook-config
see https://linkerd.io/checks/#pre-l5d-existence for hints
× no PodSecurityPolicies exist
PodSecurityPolicies found but should not exist: linkerd-linkerd-control-plane
see https://linkerd.io/checks/#pre-l5d-existence for hints
`

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.