diff --git a/advocacy_docs/kubernetes/cloud_native_operator/api_reference.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/api_reference.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/api_reference.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/api_reference.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/architecture.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/architecture.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/architecture.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/architecture.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/backup_recovery.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/backup_recovery.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/backup_recovery.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/backup_recovery.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/before_you_start.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/before_you_start.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/before_you_start.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/before_you_start.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/bootstrap.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/bootstrap.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/bootstrap.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/bootstrap.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/cloud_setup.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/cloud_setup.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/cloud_setup.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/cloud_setup.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/cnp-plugin.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/cnp-plugin.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/cnp-plugin.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/cnp-plugin.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/container_images.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/container_images.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/container_images.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/container_images.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/credits.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/credits.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/credits.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/credits.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/e2e.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/e2e.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/e2e.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/e2e.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/evaluation.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/evaluation.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/evaluation.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/evaluation.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/expose_pg_services.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/expose_pg_services.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/expose_pg_services.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/expose_pg_services.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/failure_modes.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/failure_modes.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/failure_modes.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/failure_modes.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/images/apps-in-k8s.png b/advocacy_docs/kubernetes/cloud_native_postgresql/images/apps-in-k8s.png similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/images/apps-in-k8s.png rename to advocacy_docs/kubernetes/cloud_native_postgresql/images/apps-in-k8s.png diff --git a/advocacy_docs/kubernetes/cloud_native_operator/images/apps-outside-k8s.png b/advocacy_docs/kubernetes/cloud_native_postgresql/images/apps-outside-k8s.png similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/images/apps-outside-k8s.png rename to advocacy_docs/kubernetes/cloud_native_postgresql/images/apps-outside-k8s.png diff --git a/advocacy_docs/kubernetes/cloud_native_operator/images/architecture-in-k8s.png b/advocacy_docs/kubernetes/cloud_native_postgresql/images/architecture-in-k8s.png similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/images/architecture-in-k8s.png rename to advocacy_docs/kubernetes/cloud_native_postgresql/images/architecture-in-k8s.png diff --git a/advocacy_docs/kubernetes/cloud_native_operator/images/architecture-r.png b/advocacy_docs/kubernetes/cloud_native_postgresql/images/architecture-r.png similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/images/architecture-r.png rename to advocacy_docs/kubernetes/cloud_native_postgresql/images/architecture-r.png diff --git a/advocacy_docs/kubernetes/cloud_native_operator/images/architecture-rw.png b/advocacy_docs/kubernetes/cloud_native_postgresql/images/architecture-rw.png similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/images/architecture-rw.png rename to advocacy_docs/kubernetes/cloud_native_postgresql/images/architecture-rw.png diff --git a/advocacy_docs/kubernetes/cloud_native_operator/images/network-storage-architecture.png b/advocacy_docs/kubernetes/cloud_native_postgresql/images/network-storage-architecture.png similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/images/network-storage-architecture.png rename to advocacy_docs/kubernetes/cloud_native_postgresql/images/network-storage-architecture.png diff --git a/advocacy_docs/kubernetes/cloud_native_operator/images/operator-capability-level.png b/advocacy_docs/kubernetes/cloud_native_postgresql/images/operator-capability-level.png similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/images/operator-capability-level.png rename to advocacy_docs/kubernetes/cloud_native_postgresql/images/operator-capability-level.png diff --git a/advocacy_docs/kubernetes/cloud_native_operator/images/public-cloud-architecture-storage-replication.png b/advocacy_docs/kubernetes/cloud_native_postgresql/images/public-cloud-architecture-storage-replication.png similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/images/public-cloud-architecture-storage-replication.png rename to advocacy_docs/kubernetes/cloud_native_postgresql/images/public-cloud-architecture-storage-replication.png diff --git a/advocacy_docs/kubernetes/cloud_native_operator/images/public-cloud-architecture.png b/advocacy_docs/kubernetes/cloud_native_postgresql/images/public-cloud-architecture.png similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/images/public-cloud-architecture.png rename to advocacy_docs/kubernetes/cloud_native_postgresql/images/public-cloud-architecture.png diff --git a/advocacy_docs/kubernetes/cloud_native_operator/images/shared-nothing-architecture.png b/advocacy_docs/kubernetes/cloud_native_postgresql/images/shared-nothing-architecture.png similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/images/shared-nothing-architecture.png rename to advocacy_docs/kubernetes/cloud_native_postgresql/images/shared-nothing-architecture.png diff --git a/advocacy_docs/kubernetes/cloud_native_operator/index.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/index.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/index.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/index.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/installation.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/installation.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/installation.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/installation.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/kubernetes_upgrade.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/kubernetes_upgrade.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/kubernetes_upgrade.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/kubernetes_upgrade.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/license_keys.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/license_keys.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/license_keys.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/license_keys.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/operator_capability_levels.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/operator_capability_levels.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/operator_capability_levels.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/operator_capability_levels.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/postgresql_conf.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/postgresql_conf.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/postgresql_conf.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/postgresql_conf.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/quickstart.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/quickstart.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/quickstart.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/quickstart.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/rolling_update.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/rolling_update.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/rolling_update.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/rolling_update.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/samples.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/samples.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/samples.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/samples.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/samples/backup-example.yaml b/advocacy_docs/kubernetes/cloud_native_postgresql/samples/backup-example.yaml similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/samples/backup-example.yaml rename to advocacy_docs/kubernetes/cloud_native_postgresql/samples/backup-example.yaml diff --git a/advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-example-custom.yaml b/advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-example-custom.yaml similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-example-custom.yaml rename to advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-example-custom.yaml diff --git a/advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-example-epas.yaml b/advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-example-epas.yaml similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-example-epas.yaml rename to advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-example-epas.yaml diff --git a/advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-example-full.yaml b/advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-example-full.yaml similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-example-full.yaml rename to advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-example-full.yaml diff --git a/advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-example-initdb.yaml b/advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-example-initdb.yaml similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-example-initdb.yaml rename to advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-example-initdb.yaml diff --git a/advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-example-secret.yaml b/advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-example-secret.yaml similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-example-secret.yaml rename to advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-example-secret.yaml diff --git a/advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-example-syncreplicas.yaml b/advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-example-syncreplicas.yaml similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-example-syncreplicas.yaml rename to advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-example-syncreplicas.yaml diff --git a/advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-example.yaml b/advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-example.yaml similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-example.yaml rename to advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-example.yaml diff --git a/advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-expose-service.yaml b/advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-expose-service.yaml similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-expose-service.yaml rename to advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-expose-service.yaml diff --git a/advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-pvc-template.yaml b/advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-pvc-template.yaml similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-pvc-template.yaml rename to advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-pvc-template.yaml diff --git a/advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-restore-pitr.yaml b/advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-restore-pitr.yaml similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-restore-pitr.yaml rename to advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-restore-pitr.yaml diff --git a/advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-restore.yaml b/advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-restore.yaml similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-restore.yaml rename to advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-restore.yaml diff --git a/advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-storage-class-with-backup.yaml b/advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-storage-class-with-backup.yaml similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-storage-class-with-backup.yaml rename to advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-storage-class-with-backup.yaml diff --git a/advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-storage-class.yaml b/advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-storage-class.yaml similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/samples/cluster-storage-class.yaml rename to advocacy_docs/kubernetes/cloud_native_postgresql/samples/cluster-storage-class.yaml diff --git a/advocacy_docs/kubernetes/cloud_native_operator/samples/scheduled-backup-example.yaml b/advocacy_docs/kubernetes/cloud_native_postgresql/samples/scheduled-backup-example.yaml similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/samples/scheduled-backup-example.yaml rename to advocacy_docs/kubernetes/cloud_native_postgresql/samples/scheduled-backup-example.yaml diff --git a/advocacy_docs/kubernetes/cloud_native_operator/samples/subscription.yaml b/advocacy_docs/kubernetes/cloud_native_postgresql/samples/subscription.yaml similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/samples/subscription.yaml rename to advocacy_docs/kubernetes/cloud_native_postgresql/samples/subscription.yaml diff --git a/advocacy_docs/kubernetes/cloud_native_operator/security.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/security.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/security.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/security.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/ssl_connections.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/ssl_connections.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/ssl_connections.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/ssl_connections.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/storage.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/storage.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/storage.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/storage.mdx diff --git a/advocacy_docs/kubernetes/cloud_native_operator/use_cases.mdx b/advocacy_docs/kubernetes/cloud_native_postgresql/use_cases.mdx similarity index 100% rename from advocacy_docs/kubernetes/cloud_native_operator/use_cases.mdx rename to advocacy_docs/kubernetes/cloud_native_postgresql/use_cases.mdx diff --git a/scripts/source/source_cloud_native_operator.py b/scripts/source/source_cloud_native_operator.py index 386c95d6a9e..4fc88ceb4ec 100644 --- a/scripts/source/source_cloud_native_operator.py +++ b/scripts/source/source_cloud_native_operator.py @@ -62,14 +62,14 @@ def process_md(file_path): os.remove(file_path) -def source_cloud_native_operator_docs(): +def source_cloud_native_postgresql_docs(): os.system('rm -r temp_kubernetes/build') os.system('cp -r temp_kubernetes/original/src temp_kubernetes/build') - print('Processing cloud_native_operator...') + print('Processing cloud_native_postgresql...') files = glob.glob('temp_kubernetes/build/**/*.md', recursive=True) for file_path in files: process_md(file_path) if __name__ == '__main__': - source_cloud_native_operator_docs() + source_cloud_native_postgresql_docs() diff --git a/src/pages/index.js b/src/pages/index.js index f1cf41eb774..acf20246463 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -76,7 +76,7 @@ const Page = () => ( environments.

- + Read More →

@@ -173,7 +173,7 @@ const Page = () => ( - + Cloud Native PostgreSQL Operator diff --git a/src/templates/learn-doc.js b/src/templates/learn-doc.js index b932c2f4e21..02b737b8085 100644 --- a/src/templates/learn-doc.js +++ b/src/templates/learn-doc.js @@ -50,7 +50,7 @@ const TileModes = { Simple: 'simple', Full: 'full', }; -const Tiles = ({ mode, mdx, navLinks, cardNavNodes }) => { +const Tiles = ({ mode, mdx, navLinks }) => { if (mode === TileModes.None) return null; if (!mode) { @@ -126,7 +126,7 @@ const LearnDocTemplate = ({ data, pageContext }) => { // CNO isn't editable // TODO unify docs/advo to share one smart component that knows what to show - const editOrFeedbackButton = path.includes('/cloud_native_operator/') ? ( + const editOrFeedbackButton = path.includes('/cloud_native_postgresql/') ? ( ) : ( diff --git a/static/_redirects b/static/_redirects index 9648dc40ac4..7a10f54238f 100644 --- a/static/_redirects +++ b/static/_redirects @@ -1,10 +1,7 @@ # see https://docs.netlify.com/routing/redirects/redirect-options/ -# Sample redirects -/docs/latest-epas-version-temp /docs/epas/latest -/docs/latest-epas-version-perm /docs/epas/latest 302 -/docs/epas/3.1 /docs/epas/latest 302 -/docs/epas/3.1/* /docs/epas/latest 302 +# Docs 2.0 Redirects +/docs/kubernetes/cloud_native_operator/* /docs/kubernetes/cloud_native_postgresql/:splat 302 # Super legacy redirects (Docs 0.5 -> 1.0) /docs/en/1.0/EDB_HA_SCALABILITY/* https://www.enterprisedb.com/edb-docs/d/edb-postgres-failover-manager/user-guides/high-availability-scalability-guide/3.2/:splat 301