Skip to content

Commit 46c9f14

Browse files
committed
chore: metadata corrections
1 parent 98ffedd commit 46c9f14

File tree

26 files changed

+198
-53
lines changed

26 files changed

+198
-53
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,14 @@ docker_test_lint:
7676
/usr/local/bin/test_lint.sh
7777

7878
# Generate documentation
79+
# Removed `display` for https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/issues/3140
7980
.PHONY: docker_generate_docs
8081
docker_generate_docs:
8182
$(DOCKER_BIN) run --rm -it \
8283
-e ENABLE_BPMETADATA=1 \
8384
-v "$(CURDIR)":/workspace \
8485
$(REGISTRY_URL)/${DOCKER_IMAGE_DEVELOPER_TOOLS}:${DOCKER_TAG_VERSION_DEVELOPER_TOOLS} \
85-
/bin/bash -c 'source /usr/local/bin/task_helper_functions.sh && generate_docs display'
86+
/bin/bash -c 'source /usr/local/bin/task_helper_functions.sh && generate_docs --per-module-requirements'
8687

8788
# Generate files from autogen
8889
.PHONY: docker_generate_modules

metadata.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,3 +819,13 @@ spec:
819819
description: Whether vertical pod autoscaling enabled
820820
- name: zones
821821
description: List of zones in which the cluster resides
822+
requirements:
823+
roles:
824+
- level: Project
825+
providerVersions:
826+
- source: hashicorp/google
827+
version: ">= 6.42.0, < 7"
828+
- source: hashicorp/kubernetes
829+
version: ~> 2.10
830+
- source: hashicorp/random
831+
version: ">= 2.1"

modules/auth/metadata.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,9 @@ spec:
151151
description: A kubeconfig file configured to access the GKE cluster.
152152
- name: token
153153
description: The token value for use with the kubernetes provider.
154+
requirements:
155+
roles:
156+
- level: Project
157+
providerVersions:
158+
- source: hashicorp/google
159+
version: ">= 4.47.0, != 4.49.0, != 4.50.0, < 7"

modules/beta-autopilot-private-cluster/metadata.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,3 +562,15 @@ spec:
562562
description: Whether vertical pod autoscaling enabled
563563
- name: zones
564564
description: List of zones in which the cluster resides
565+
requirements:
566+
roles:
567+
- level: Project
568+
providerVersions:
569+
- source: hashicorp/google
570+
version: ">= 6.42.0, < 7"
571+
- source: hashicorp/google-beta
572+
version: ">= 6.42.0, < 7"
573+
- source: hashicorp/kubernetes
574+
version: ~> 2.10
575+
- source: hashicorp/random
576+
version: ">= 2.1"

modules/beta-autopilot-public-cluster/metadata.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,3 +536,15 @@ spec:
536536
description: Whether vertical pod autoscaling enabled
537537
- name: zones
538538
description: List of zones in which the cluster resides
539+
requirements:
540+
roles:
541+
- level: Project
542+
providerVersions:
543+
- source: hashicorp/google
544+
version: ">= 6.42.0, < 7"
545+
- source: hashicorp/google-beta
546+
version: ">= 6.42.0, < 7"
547+
- source: hashicorp/kubernetes
548+
version: ~> 2.10
549+
- source: hashicorp/random
550+
version: ">= 2.1"

modules/beta-private-cluster-update-variant/metadata.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,3 +854,15 @@ spec:
854854
description: Whether vertical pod autoscaling enabled
855855
- name: zones
856856
description: List of zones in which the cluster resides
857+
requirements:
858+
roles:
859+
- level: Project
860+
providerVersions:
861+
- source: hashicorp/google
862+
version: ">= 6.42.0, < 7"
863+
- source: hashicorp/google-beta
864+
version: ">= 6.42.0, < 7"
865+
- source: hashicorp/kubernetes
866+
version: ~> 2.10
867+
- source: hashicorp/random
868+
version: ">= 2.1"

modules/beta-private-cluster/metadata.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,3 +854,15 @@ spec:
854854
description: Whether vertical pod autoscaling enabled
855855
- name: zones
856856
description: List of zones in which the cluster resides
857+
requirements:
858+
roles:
859+
- level: Project
860+
providerVersions:
861+
- source: hashicorp/google
862+
version: ">= 6.42.0, < 7"
863+
- source: hashicorp/google-beta
864+
version: ">= 6.42.0, < 7"
865+
- source: hashicorp/kubernetes
866+
version: ~> 2.10
867+
- source: hashicorp/random
868+
version: ">= 2.1"

modules/beta-public-cluster-update-variant/metadata.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -828,3 +828,15 @@ spec:
828828
description: Whether vertical pod autoscaling enabled
829829
- name: zones
830830
description: List of zones in which the cluster resides
831+
requirements:
832+
roles:
833+
- level: Project
834+
providerVersions:
835+
- source: hashicorp/google
836+
version: ">= 6.42.0, < 7"
837+
- source: hashicorp/google-beta
838+
version: ">= 6.42.0, < 7"
839+
- source: hashicorp/kubernetes
840+
version: ~> 2.10
841+
- source: hashicorp/random
842+
version: ">= 2.1"

modules/beta-public-cluster/metadata.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -828,3 +828,15 @@ spec:
828828
description: Whether vertical pod autoscaling enabled
829829
- name: zones
830830
description: List of zones in which the cluster resides
831+
requirements:
832+
roles:
833+
- level: Project
834+
providerVersions:
835+
- source: hashicorp/google
836+
version: ">= 6.42.0, < 7"
837+
- source: hashicorp/google-beta
838+
version: ">= 6.42.0, < 7"
839+
- source: hashicorp/kubernetes
840+
version: ~> 2.10
841+
- source: hashicorp/random
842+
version: ">= 2.1"

modules/binary-authorization/metadata.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,3 +155,11 @@ spec:
155155
description: Name of the built attestor
156156
- name: key
157157
description: Name of the Key created for the attestor
158+
requirements:
159+
roles:
160+
- level: Project
161+
providerVersions:
162+
- source: hashicorp/google
163+
version: < 7
164+
- source: hashicorp/google-beta
165+
version: < 7

0 commit comments

Comments
 (0)