Skip to content

Commit 8f436d9

Browse files
Move kubectl plugin page (#33686)
* Move kubectl plugin doc to Kubernetes section Relocate kubectl plugin doc to kubernetes * update pull config * update pull config file --------- Co-authored-by: Cedric Lamoriniere <[email protected]>
1 parent 204742d commit 8f436d9

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,14 @@ content/en/static_analysis/github_actions.md
156156
content/en/static_analysis/circleci_orbs.md
157157
content/en/static_analysis/rules/
158158

159+
# containers - kubernetes
160+
content/en/containers/kubernetes/kubectl_plugin.md
161+
159162
# containers - datadog-operator
160163
content/en/containers/datadog_operator/advanced_install.md
161164
content/en/containers/datadog_operator/configuration.md
162165
content/en/containers/datadog_operator/custom_check.md
163166
content/en/containers/datadog_operator/data_collected.md
164-
content/en/containers/datadog_operator/kubectl_plugin.md
165167
content/en/containers/datadog_operator/secret_management.md
166168
content/en/containers/guide/v2alpha1_migration.md
167169

config/_default/menus/main.en.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3303,16 +3303,21 @@ menu:
33033303
parent: containers_kubernetes
33043304
identifier: containers_kubernetes_data_collected
33053305
weight: 410
3306+
- name: kubectl Plugin
3307+
url: containers/kubernetes/kubectl_plugin
3308+
parent: containers_kubernetes
3309+
identifier: containers_kubernetes_kubectlplugin
3310+
weight: 411
33063311
- name: Datadog CSI Driver
33073312
url: containers/kubernetes/csi_driver
33083313
parent: containers_kubernetes
33093314
identifier: csi_driver
3310-
weight: 411
3315+
weight: 412
33113316
- name: Data security
33123317
url: data_security/kubernetes
33133318
parent: containers_kubernetes
33143319
identifier: container_kubernetes_data_security
3315-
weight: 412
3320+
weight: 413
33163321
- name: Cluster Agent
33173322
url: containers/cluster_agent/
33183323
parent: containers
@@ -3403,11 +3408,6 @@ menu:
34033408
identifier: containers_datadog_operator_datacollected
34043409
parent: containers_datadog_operator
34053410
weight: 804
3406-
- name: kubectl Plugin
3407-
url: containers/datadog_operator/kubectl_plugin
3408-
identifier: containers_datadog_operator_kubectlplugin
3409-
parent: containers_datadog_operator
3410-
weight: 805
34113411
- name: Secret Management
34123412
url: containers/datadog_operator/secret_management
34133413
identifier: containers_datadog_operator_secretmanagement

local/bin/py/build/configurations/pull_config.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,11 +485,13 @@
485485
globs:
486486
- 'docs/kubectl-plugin.md'
487487
options:
488-
dest_path: '/containers/datadog_operator/'
488+
dest_path: '/containers/kubernetes/'
489489
file_name: 'kubectl_plugin.md'
490490
front_matters:
491-
title: Datadog Operator Plugin for kubectl
491+
title: Datadog Plugin for kubectl
492492
dependencies: ["https://github.com/DataDog/datadog-operator/blob/main/docs/kubectl-plugin.md"]
493+
aliases:
494+
- /containers/datadog_operator/kubectl_plugin
493495
- action: pull-and-push-file
494496
branch: main
495497
globs:

local/bin/py/build/configurations/pull_config_preview.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,11 +485,13 @@
485485
globs:
486486
- 'docs/kubectl-plugin.md'
487487
options:
488-
dest_path: '/containers/datadog_operator/'
488+
dest_path: '/containers/kubernetes/'
489489
file_name: 'kubectl_plugin.md'
490490
front_matters:
491-
title: Datadog Operator Plugin for kubectl
491+
title: Datadog Plugin for kubectl
492492
dependencies: ["https://github.com/DataDog/datadog-operator/blob/main/docs/kubectl-plugin.md"]
493+
aliases:
494+
- /containers/datadog_operator/kubectl_plugin
493495
- action: pull-and-push-file
494496
branch: main
495497
globs:

0 commit comments

Comments
 (0)