From 5984adbe7ddddf9c488ec18cb94360449ceccf0d Mon Sep 17 00:00:00 2001 From: Etienne Audet-Cobello Date: Mon, 13 Jan 2025 11:54:51 -0500 Subject: [PATCH] link to charmhub --- .../_parts/commands/charm/get-kubeconfig.md | 15 --------------- .../commands/charm/pre-upgrade-check.md | 19 ------------------- docs/src/charm/reference/commands.md | 9 ++------- 3 files changed, 2 insertions(+), 41 deletions(-) delete mode 100644 docs/src/_parts/commands/charm/get-kubeconfig.md delete mode 100644 docs/src/_parts/commands/charm/pre-upgrade-check.md diff --git a/docs/src/_parts/commands/charm/get-kubeconfig.md b/docs/src/_parts/commands/charm/get-kubeconfig.md deleted file mode 100644 index 48aa21924..000000000 --- a/docs/src/_parts/commands/charm/get-kubeconfig.md +++ /dev/null @@ -1,15 +0,0 @@ -## get-kubeconfig - -### Synopsis - -Retrieve public Kubernetes cluster config, including credentials - -``` -Retrieve the cluster config: - - juju run control-plane/0 get-kubeconfig -``` - -### Options - -None. diff --git a/docs/src/_parts/commands/charm/pre-upgrade-check.md b/docs/src/_parts/commands/charm/pre-upgrade-check.md deleted file mode 100644 index c9f19137b..000000000 --- a/docs/src/_parts/commands/charm/pre-upgrade-check.md +++ /dev/null @@ -1,19 +0,0 @@ -## pre-upgrade-check - -### Synopsis - -Run necessary pre-upgrade checks before executing a charm upgrade. - -``` -Pre-upgrade-check on a control plane unit: - - juju run control-plane/0 pre-upgrade-check - -Pre-upgrade-check on a worker unit: - - juju run worker/0 pre-upgrade-check -``` - -### Options - -None. diff --git a/docs/src/charm/reference/commands.md b/docs/src/charm/reference/commands.md index dede76846..7e44e10e2 100644 --- a/docs/src/charm/reference/commands.md +++ b/docs/src/charm/reference/commands.md @@ -1,9 +1,4 @@ # Command reference -These are the commands provided by the k8s charm: - -```{include} ../../_parts/commands/charm/pre-upgrade-check.md -``` - -```{include} ../../_parts/commands/charm/pre-upgrade-check.md -``` +The up-to-date list of commands is on the Charmhub page: +[https://charmhub.io/k8s/actionhttps://charmhub.io/k8s/actions]