diff --git a/docs/tutorials/upgrade-extension.md b/docs/tutorials/upgrade-extension.md index ab0562022..9dc07c75d 100644 --- a/docs/tutorials/upgrade-extension.md +++ b/docs/tutorials/upgrade-extension.md @@ -25,7 +25,7 @@ For this example, we will be using v0.2.0 of the ArgoCD operator. If you would l with this tutorial, you can apply the following manifest to your cluster by, for example, saving it to a local file and then running `kubectl apply -f FILENAME`: -??? example "ArgoCD v0.2.0 manifests" +??? info "ArgoCD v0.2.0 manifests" ```yaml --- apiVersion: v1 @@ -300,14 +300,17 @@ saving it to a local file and then running `kubectl apply -f FILENAME`: version: 0.2.0 ``` +___ + If we view the current state of our ClusterExtension we should see that we have installed version 0.2.0: -```terminal -kubectl get clusterextension argocd -o jsonpath-as-json="{.status.install}" -``` +!!! example "How to check the current ClusterExtension version" -!!! success "Command output" - ``` json + ```terminal title="Get current version" + kubectl get clusterextension argocd -o jsonpath-as-json="{.status.install}" + ``` + + ``` json title="Version output" [ { "bundle": { @@ -318,9 +321,11 @@ kubectl get clusterextension argocd -o jsonpath-as-json="{.status.install}" ] ``` -* To initiate our upgrade, let's update the version field in the ClusterExtension resource: +To initiate our upgrade, let's update the version field in the ClusterExtension resource: - ``` terminal +!!! example "How to set the new ClusterExtension version" + + ``` terminal title="Method 1: apply a new ClusterExtension manifest" kubectl apply -f - <