From 7c3a5a33050143b9fa373b97a5edb011978b7a04 Mon Sep 17 00:00:00 2001 From: Yuliia Horbenko <31223054+yuliiiah@users.noreply.github.com> Date: Fri, 2 Feb 2024 21:38:23 +0100 Subject: [PATCH] Manually backport PR#2174 to version 3.4 (#2178) * Deprecate Cox Edge content and add an unlisted page for redirects (#2174) * docs: Add an unlisted page that notifies about the Cox Edge end of life * docs: Add redirects for Cox Edge content and deprecate the content * docs: Change the approach to unlisted content to avoid clutter * chore: Add all Cox Edge pages to redirects * chore: Replace a link with the unlisted page * chore: Fix the link I just replaced because... intelligence --- .../public-cloud/cox-edge/_category_.json | 0 .../cox-edge/add-cox-edge-accounts.md | 0 .../clusters/public-cloud/cox-edge/cox-edge.md | 0 .../cox-edge/create-cox-cluster.md | 0 .../public-cloud/cox-edge/network-rules.md | 0 .../clusters/public-cloud/public-cloud.md | 2 -- docs/docs-content/release-notes.md | 2 +- docs/docs-content/unlisted/_category_.json | 3 +++ docs/docs-content/unlisted/cox-edge-eol.md | 18 ++++++++++++++++++ docs/docs-content/unlisted/unlisted.md | 10 ++++++++++ redirects.js | 9 +++++++++ .../IconMapper/dynamicFontAwesomeImports.js | 6 +++++- 12 files changed, 46 insertions(+), 4 deletions(-) rename docs/{docs-content => deprecated}/clusters/public-cloud/cox-edge/_category_.json (100%) rename docs/{docs-content => deprecated}/clusters/public-cloud/cox-edge/add-cox-edge-accounts.md (100%) rename docs/{docs-content => deprecated}/clusters/public-cloud/cox-edge/cox-edge.md (100%) rename docs/{docs-content => deprecated}/clusters/public-cloud/cox-edge/create-cox-cluster.md (100%) rename docs/{docs-content => deprecated}/clusters/public-cloud/cox-edge/network-rules.md (100%) create mode 100644 docs/docs-content/unlisted/_category_.json create mode 100644 docs/docs-content/unlisted/cox-edge-eol.md create mode 100644 docs/docs-content/unlisted/unlisted.md diff --git a/docs/docs-content/clusters/public-cloud/cox-edge/_category_.json b/docs/deprecated/clusters/public-cloud/cox-edge/_category_.json similarity index 100% rename from docs/docs-content/clusters/public-cloud/cox-edge/_category_.json rename to docs/deprecated/clusters/public-cloud/cox-edge/_category_.json diff --git a/docs/docs-content/clusters/public-cloud/cox-edge/add-cox-edge-accounts.md b/docs/deprecated/clusters/public-cloud/cox-edge/add-cox-edge-accounts.md similarity index 100% rename from docs/docs-content/clusters/public-cloud/cox-edge/add-cox-edge-accounts.md rename to docs/deprecated/clusters/public-cloud/cox-edge/add-cox-edge-accounts.md diff --git a/docs/docs-content/clusters/public-cloud/cox-edge/cox-edge.md b/docs/deprecated/clusters/public-cloud/cox-edge/cox-edge.md similarity index 100% rename from docs/docs-content/clusters/public-cloud/cox-edge/cox-edge.md rename to docs/deprecated/clusters/public-cloud/cox-edge/cox-edge.md diff --git a/docs/docs-content/clusters/public-cloud/cox-edge/create-cox-cluster.md b/docs/deprecated/clusters/public-cloud/cox-edge/create-cox-cluster.md similarity index 100% rename from docs/docs-content/clusters/public-cloud/cox-edge/create-cox-cluster.md rename to docs/deprecated/clusters/public-cloud/cox-edge/create-cox-cluster.md diff --git a/docs/docs-content/clusters/public-cloud/cox-edge/network-rules.md b/docs/deprecated/clusters/public-cloud/cox-edge/network-rules.md similarity index 100% rename from docs/docs-content/clusters/public-cloud/cox-edge/network-rules.md rename to docs/deprecated/clusters/public-cloud/cox-edge/network-rules.md diff --git a/docs/docs-content/clusters/public-cloud/public-cloud.md b/docs/docs-content/clusters/public-cloud/public-cloud.md index d90aab99a6..016b2cd633 100644 --- a/docs/docs-content/clusters/public-cloud/public-cloud.md +++ b/docs/docs-content/clusters/public-cloud/public-cloud.md @@ -28,8 +28,6 @@ The following pages provide detailed instructions for setting up new workload cl - [Azure](azure/azure.md) -- [Cox Edge](cox-edge/cox-edge.md) - - [Google Cloud](gcp/gcp.md) - [Tencent](tke.md) diff --git a/docs/docs-content/release-notes.md b/docs/docs-content/release-notes.md index 6b6c7f60b6..35643aaa3d 100644 --- a/docs/docs-content/release-notes.md +++ b/docs/docs-content/release-notes.md @@ -329,7 +329,7 @@ enhancements. ##### Features -- Support for the [Cox Edge](clusters/public-cloud/cox-edge/cox-edge.md) cloud provider is now available in Palette. +- Support for the [Cox Edge](unlisted/cox-edge-eol.md) cloud provider is now available in Palette. - Palette introduces a new user sign-in flow for users who previously created an account through SSO and who are a member of different organizations. Palette prompts you to select the organization to log in to. If you need help remembering, you can retrieve it using “Forgot your organization name?”. diff --git a/docs/docs-content/unlisted/_category_.json b/docs/docs-content/unlisted/_category_.json new file mode 100644 index 0000000000..35ce741d56 --- /dev/null +++ b/docs/docs-content/unlisted/_category_.json @@ -0,0 +1,3 @@ +{ + "position": 10000 +} diff --git a/docs/docs-content/unlisted/cox-edge-eol.md b/docs/docs-content/unlisted/cox-edge-eol.md new file mode 100644 index 0000000000..0980daa503 --- /dev/null +++ b/docs/docs-content/unlisted/cox-edge-eol.md @@ -0,0 +1,18 @@ +--- +sidebar_label: "Cox Edge End of Life" +title: "Cox Edge End of Life" +description: "Learn about the Cox Edge alternatives Palette supports." +icon: "" +hide_table_of_contents: false +unlisted: true +tags: ["public cloud", "cox-edge", "unlisted"] +--- + +In January 2024, Cox Communications ended all support for Cox Edge, their public cloud provider. Consequently, Palette +no longer supports Cox Edge and its associated features. Here's a list of alternative cloud providers you could start +using with Palette and Palette VerteX today: + +- [Amazon Web Services](/clusters/public-cloud/aws/) +- [Azure](/clusters/public-cloud/azure/) +- [Google Cloud](/clusters/public-cloud/gcp/) +- [Tencent](/clusters/public-cloud/tke) diff --git a/docs/docs-content/unlisted/unlisted.md b/docs/docs-content/unlisted/unlisted.md new file mode 100644 index 0000000000..dde4417cb8 --- /dev/null +++ b/docs/docs-content/unlisted/unlisted.md @@ -0,0 +1,10 @@ +--- +sidebar_label: "Unlisted Content" +title: "Unlisted Content" +description: "This section contains content that is meant to be unlisted." +hide_table_of_contents: false +sidebar_position: 0 +sidebar_custom_props: + icon: "eye-slash" +unlisted: true +--- diff --git a/redirects.js b/redirects.js index e62ddf7af4..e6d077c744 100644 --- a/redirects.js +++ b/redirects.js @@ -339,6 +339,15 @@ const redirects = [ from: `/compliance`, to: `/legal-licenses/compliance`, }, + { + from: [ + `/clusters/public-cloud/cox-edge/`, + `/clusters/public-cloud/cox-edge/add-cox-edge-accounts`, + `/clusters/public-cloud/cox-edge/create-cox-cluster`, + `/clusters/public-cloud/cox-edge/network-rules`, + ], + to: `/unlisted/cox-edge-eol`, + }, ]; module.exports = redirects; diff --git a/src/components/IconMapper/dynamicFontAwesomeImports.js b/src/components/IconMapper/dynamicFontAwesomeImports.js index c965542eab..799c7ecc48 100644 --- a/src/components/IconMapper/dynamicFontAwesomeImports.js +++ b/src/components/IconMapper/dynamicFontAwesomeImports.js @@ -15,6 +15,8 @@ import { faTerminal } from '@fortawesome/free-solid-svg-icons'; import { faLock } from '@fortawesome/free-solid-svg-icons'; import { faGears } from '@fortawesome/free-solid-svg-icons'; import { faScrewdriverWrench } from '@fortawesome/free-solid-svg-icons'; +import { faEyeSlash } from '@fortawesome/free-solid-svg-icons'; +import { faShield } from '@fortawesome/free-solid-svg-icons'; export const fontAwesomeIcons = { "cubes": faCubes, @@ -33,5 +35,7 @@ export const fontAwesomeIcons = { "terminal": faTerminal, "lock": faLock, "gears": faGears, - "screwdriver-wrench": faScrewdriverWrench + "screwdriver-wrench": faScrewdriverWrench, + "eye-slash": faEyeSlash, + "shield": faShield }; \ No newline at end of file