| null {
+export function DevSnapshotSection(): ReactElement {
const activeVersion = useActiveVersion('default');
- const url = 'https://raw.githubusercontent.com/cloudnative-pg/plugin-barman-cloud/refs/heads/main/manifest.yaml';
- if (!activeVersion || activeVersion.name === 'current') return null;
+ if (!activeVersion || activeVersion.name === 'current') {
+ return (
+ The install
+ command above already applies the latest development
+ snapshot from the main branch.
+ );
+ }
return (
<>
-
- Testing the latest development snapshot
-
+ You can also test the latest development snapshot of the plugin
+ with the following command:
{`kubectl apply -f \\
- ${url}`}
+ ${DEV_MANIFEST_URL}`}
>
);
diff --git a/web/versioned_docs/version-0.13.0/installation.mdx b/web/versioned_docs/version-0.13.0/installation.mdx
index 01ee3c7..4c1c48a 100644
--- a/web/versioned_docs/version-0.13.0/installation.mdx
+++ b/web/versioned_docs/version-0.13.0/installation.mdx
@@ -97,6 +97,8 @@ deployment "barman-cloud" successfully rolled out
This confirms that the plugin is deployed and ready to use.
+## Testing the latest development snapshot
+
import { DevSnapshotSection } from '@site/src/components/Installation';
diff --git a/web/versioned_docs/version-0.14.0/installation.mdx b/web/versioned_docs/version-0.14.0/installation.mdx
index 01ee3c7..4c1c48a 100644
--- a/web/versioned_docs/version-0.14.0/installation.mdx
+++ b/web/versioned_docs/version-0.14.0/installation.mdx
@@ -97,6 +97,8 @@ deployment "barman-cloud" successfully rolled out
This confirms that the plugin is deployed and ready to use.
+## Testing the latest development snapshot
+
import { DevSnapshotSection } from '@site/src/components/Installation';