From 4a0a9d47ea932c05b43eb75dac4e7f3601ae0da7 Mon Sep 17 00:00:00 2001 From: Hannah Hunter Date: Thu, 2 May 2024 12:55:02 -0400 Subject: [PATCH 1/2] update CRD Signed-off-by: Hannah Hunter --- .../en/operations/hosting/kubernetes/kubernetes-upgrade.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/operations/hosting/kubernetes/kubernetes-upgrade.md b/daprdocs/content/en/operations/hosting/kubernetes/kubernetes-upgrade.md index aa26e270496..3156ac498f9 100644 --- a/daprdocs/content/en/operations/hosting/kubernetes/kubernetes-upgrade.md +++ b/daprdocs/content/en/operations/hosting/kubernetes/kubernetes-upgrade.md @@ -49,7 +49,7 @@ The CustomResourceDefinition "configurations.dapr.io" is invalid: spec.preserveU 1. Run the following command to upgrade the `CustomResourceDefinition` to a compatible version: ```sh - kubectl replace -f https://raw.githubusercontent.com/dapr/dapr/5a15b3e0f093d2d0938b12f144c7047474a290fe/charts/dapr/crds/configuration.yaml + kubectl replace -f https://raw.githubusercontent.com/dapr/dapr/release-1.13/charts/dapr/crds/configuration.yaml ``` 1. Proceed with the `dapr upgrade --runtime-version {{% dapr-latest-version long="true" %}} -k` command. From 956e204d1fc4530481a6185b5d7b6aa7fb9b07dc Mon Sep 17 00:00:00 2001 From: Hannah Hunter Date: Fri, 3 May 2024 12:21:52 -0400 Subject: [PATCH 2/2] shortcode Signed-off-by: Hannah Hunter --- .../en/operations/hosting/kubernetes/kubernetes-upgrade.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/operations/hosting/kubernetes/kubernetes-upgrade.md b/daprdocs/content/en/operations/hosting/kubernetes/kubernetes-upgrade.md index 3156ac498f9..6fbf8bca32d 100644 --- a/daprdocs/content/en/operations/hosting/kubernetes/kubernetes-upgrade.md +++ b/daprdocs/content/en/operations/hosting/kubernetes/kubernetes-upgrade.md @@ -49,7 +49,7 @@ The CustomResourceDefinition "configurations.dapr.io" is invalid: spec.preserveU 1. Run the following command to upgrade the `CustomResourceDefinition` to a compatible version: ```sh - kubectl replace -f https://raw.githubusercontent.com/dapr/dapr/release-1.13/charts/dapr/crds/configuration.yaml + kubectl replace -f https://raw.githubusercontent.com/dapr/dapr/release-{{% dapr-latest-version short="true" %}}/charts/dapr/crds/configuration.yaml ``` 1. Proceed with the `dapr upgrade --runtime-version {{% dapr-latest-version long="true" %}} -k` command.