Skip to content

Commit

Permalink
Mitigate duplicate menu entry warnings for cluster-app chart pages (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
marians authored Dec 12, 2024
1 parent 666098a commit 9775ac6
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 34 deletions.
3 changes: 2 additions & 1 deletion scripts/update-helm-chart-reference/main.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash

HELM_CHART_DOCS_GENERATOR_VERSION=0.2.0
DESTINATION=src/content/vintage/use-the-api/management-api/cluster-apps

DESTINATION=src/content/reference/platform-api/cluster-apps

# Clear output folder
find ${DESTINATION} -type f -not -name "_index.md" | xargs -I '{}' rm '{}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: cluster-aws
description: A helm chart for creating Cluster API clusters with the AWS infrastructure provider (CAPA).; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: cluster-aws
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-cluster-aws
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for cluster-aws?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: cluster-azure
description: A helm chart for creating Cluster API clusters with the Azure infrastructure provider (CAPZ).; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: cluster-azure
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-cluster-azure
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for cluster-azure?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: cluster-cloud-director
description: A helm chart for creating Cluster API clusters with the VMware Cloud Director (VCD) infrastructure provider (CAPVCD).; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: cluster-cloud-director
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-cluster-cloud-director
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for cluster-cloud-director?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: cluster-eks
description: A helm chart for creating Cluster API EKS clusters with the AWS infrastructure provider (CAPA).; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: cluster-eks
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-cluster-eks
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for cluster-eks?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: cluster-vsphere
description: A helm chart for creating Cluster API clusters with the vSphere provider (CAPV).; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: cluster-vsphere
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-cluster-vsphere
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for cluster-vsphere?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: cluster
description: Giant Swarm cluster chart with provider-independent cluster resources; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: cluster
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-cluster
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for cluster?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: default-apps-aws
description: A Helm chart for default-apps-aws; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: default-apps-aws
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-default-apps-aws
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for default-apps-aws?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: default-apps-azure
description: A Helm chart defining the preinstalled apps running in all Giant Swarm Azure clusters.; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: default-apps-azure
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-default-apps-azure
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for default-apps-azure?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: default-apps-cloud-director
description: A Helm chart which defines the pre-installed apps in all Giant Swarm Cloud Director (VCD) clusters; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: default-apps-cloud-director
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-default-apps-cloud-director
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for default-apps-cloud-director?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: default-apps-eks
description: A Helm chart for default-apps-eks; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: default-apps-eks
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-default-apps-eks
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for default-apps-eks?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: default-apps-vsphere
description: A Helm chart which defines the pre-installed apps in all Giant Swarm vSphere clusters; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: default-apps-vsphere
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-default-apps-vsphere
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for default-apps-vsphere?
Expand Down

0 comments on commit 9775ac6

Please sign in to comment.