From 8c11c44587fd53d30f1fe706dbf8fbc4bfb893d0 Mon Sep 17 00:00:00 2001 From: Robert Fratto Date: Mon, 25 Oct 2021 12:10:02 -0400 Subject: [PATCH] add more detail to migrating to new CRD names in v0.19.0 --- docs/upgrade-guide/_index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/upgrade-guide/_index.md b/docs/upgrade-guide/_index.md index ce2b4b4ea636..1becc95d1755 100644 --- a/docs/upgrade-guide/_index.md +++ b/docs/upgrade-guide/_index.md @@ -135,6 +135,10 @@ This includes: This is a hard breaking change, and all fields must change accordingly for the operator to continue working. +Note that old CRDs with the old hyphenated names must be deleted (`kubectl +delete crds/{grafana-agents,prometheus-instances}`) for ClusterRoles to work +correctly. + To do a zero-downtime upgrade of the Operator when there is a breaking change, refer to the new `agentctl operator-detatch` command: this will iterate through all of your objects and remove any OwnerReferences to a CRD, allowing you to