From a2750e45becfca5a00a1fcd6c273e19f7833a063 Mon Sep 17 00:00:00 2001 From: Cedric Lamoriniere Date: Wed, 24 Dec 2025 11:10:53 +0100 Subject: [PATCH 1/3] Move kubectl plugin doc to Kubernetes section Relocate kubectl plugin doc to kubernetes --- .gitignore | 4 +++- config/_default/menus/main.en.yaml | 14 +++++++------- local/bin/py/build/configurations/pull_config.yaml | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index eb27bbe16fc..d7215f4fe46 100644 --- a/.gitignore +++ b/.gitignore @@ -156,12 +156,14 @@ content/en/static_analysis/github_actions.md content/en/static_analysis/circleci_orbs.md content/en/static_analysis/rules/ +# containers - kubernetes +content/en/containers/kubernetes/kubectl_plugin.md + # containers - datadog-operator content/en/containers/datadog_operator/advanced_install.md content/en/containers/datadog_operator/configuration.md content/en/containers/datadog_operator/custom_check.md content/en/containers/datadog_operator/data_collected.md -content/en/containers/datadog_operator/kubectl_plugin.md content/en/containers/datadog_operator/secret_management.md content/en/containers/guide/v2alpha1_migration.md diff --git a/config/_default/menus/main.en.yaml b/config/_default/menus/main.en.yaml index d0ffa89f272..1768b1294ed 100644 --- a/config/_default/menus/main.en.yaml +++ b/config/_default/menus/main.en.yaml @@ -3283,16 +3283,21 @@ menu: parent: containers_kubernetes identifier: containers_kubernetes_data_collected weight: 410 + - name: kubectl Plugin + url: containers/kubernetes/kubectl_plugin + parent: containers_kubernetes + identifier: containers_kubernetes_kubectlplugin + weight: 411 - name: Datadog CSI Driver url: containers/kubernetes/csi_driver parent: containers_kubernetes identifier: csi_driver - weight: 411 + weight: 412 - name: Data security url: data_security/kubernetes parent: containers_kubernetes identifier: container_kubernetes_data_security - weight: 412 + weight: 413 - name: Cluster Agent url: containers/cluster_agent/ parent: containers @@ -3383,11 +3388,6 @@ menu: identifier: containers_datadog_operator_datacollected parent: containers_datadog_operator weight: 804 - - name: kubectl Plugin - url: containers/datadog_operator/kubectl_plugin - identifier: containers_datadog_operator_kubectlplugin - parent: containers_datadog_operator - weight: 805 - name: Secret Management url: containers/datadog_operator/secret_management identifier: containers_datadog_operator_secretmanagement diff --git a/local/bin/py/build/configurations/pull_config.yaml b/local/bin/py/build/configurations/pull_config.yaml index 3f733240a11..532a977eb09 100644 --- a/local/bin/py/build/configurations/pull_config.yaml +++ b/local/bin/py/build/configurations/pull_config.yaml @@ -485,7 +485,7 @@ globs: - 'docs/kubectl-plugin.md' options: - dest_path: '/containers/datadog_operator/' + dest_path: '/containers/kubernetes/' file_name: 'kubectl_plugin.md' front_matters: title: Datadog Operator Plugin for kubectl From 99ee76c330b5c6a4bb3087c42a0c0f94cf9716b6 Mon Sep 17 00:00:00 2001 From: Dominique Alessi Date: Tue, 6 Jan 2026 13:43:20 -0500 Subject: [PATCH 2/3] update pull config --- local/bin/py/build/configurations/pull_config_preview.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/local/bin/py/build/configurations/pull_config_preview.yaml b/local/bin/py/build/configurations/pull_config_preview.yaml index 14c0ff2c429..0645bf5d4e4 100644 --- a/local/bin/py/build/configurations/pull_config_preview.yaml +++ b/local/bin/py/build/configurations/pull_config_preview.yaml @@ -485,11 +485,13 @@ globs: - 'docs/kubectl-plugin.md' options: - dest_path: '/containers/datadog_operator/' + dest_path: '/containers/kubernetes/' file_name: 'kubectl_plugin.md' front_matters: - title: Datadog Operator Plugin for kubectl + title: Datadog Plugin for kubectl dependencies: ["https://github.com/DataDog/datadog-operator/blob/main/docs/kubectl-plugin.md"] + aliases: + - /containers/datadog_operator/kubectl_plugin - action: pull-and-push-file branch: main globs: From 5c865262bf69bf492581e2002e84439626920726 Mon Sep 17 00:00:00 2001 From: Dominique Alessi Date: Tue, 6 Jan 2026 13:45:50 -0500 Subject: [PATCH 3/3] update pull config file --- local/bin/py/build/configurations/pull_config.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/local/bin/py/build/configurations/pull_config.yaml b/local/bin/py/build/configurations/pull_config.yaml index 532a977eb09..7eae1498677 100644 --- a/local/bin/py/build/configurations/pull_config.yaml +++ b/local/bin/py/build/configurations/pull_config.yaml @@ -488,8 +488,10 @@ dest_path: '/containers/kubernetes/' file_name: 'kubectl_plugin.md' front_matters: - title: Datadog Operator Plugin for kubectl + title: Datadog Plugin for kubectl dependencies: ["https://github.com/DataDog/datadog-operator/blob/main/docs/kubectl-plugin.md"] + aliases: + - /containers/datadog_operator/kubectl_plugin - action: pull-and-push-file branch: main globs: