Skip to content

Commit 1080e69

Browse files
committed
added ui validation for iap_members field
1 parent 3cbc9d5 commit 1080e69

File tree

10 files changed

+31
-14
lines changed

10 files changed

+31
-14
lines changed

metadata.display.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Google LLC
1+
# Copyright 2025 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

metadata.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,13 +338,13 @@ spec:
338338
roles:
339339
- level: Project
340340
roles:
341-
- roles/iam.serviceAccountAdmin
342-
- roles/storage.admin
343-
- roles/compute.admin
344341
- roles/run.admin
345342
- roles/iam.serviceAccountUser
346343
- roles/certificatemanager.owner
347344
- roles/vpcaccess.admin
345+
- roles/iam.serviceAccountAdmin
346+
- roles/storage.admin
347+
- roles/compute.admin
348348
services:
349349
- certificatemanager.googleapis.com
350350
- cloudresourcemanager.googleapis.com

modules/backend/metadata.display.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Google LLC
1+
# Copyright 2025 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -31,6 +31,9 @@ spec:
3131
affinity_cookie_ttl_sec:
3232
name: affinity_cookie_ttl_sec
3333
title: Affinity Cookie Ttl Sec
34+
backend_bucket_name:
35+
name: backend_bucket_name
36+
title: Backend Bucket Name
3437
cdn_policy:
3538
name: cdn_policy
3639
title: Cdn Policy
@@ -66,6 +69,9 @@ spec:
6669
firewall_projects:
6770
name: firewall_projects
6871
title: Firewall Projects
72+
firewall_source_ranges:
73+
name: firewall_source_ranges
74+
title: Firewall Source Ranges
6975
groups:
7076
name: groups
7177
title: Groups
@@ -79,6 +85,11 @@ spec:
7985
iap_config:
8086
name: iap_config
8187
title: Iap Config
88+
iap_members:
89+
name: iap_members
90+
title: Iap Members
91+
regexValidation: ^(?:allUsers|allAuthenticatedUsers)$|^((?:user|group|serviceAccount):(?:[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,})|(?:domain:(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,})|(?:projectOwner|projectEditor|projectViewer):[a-z][a-z0-9-]{0,28}[a-z0-9])$
92+
validation: Must be allUsers, allAuthenticatedUsers, or a service account in the format serviceAccount:[email protected]. [More info](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/iap_web_backend_service_iam#google_iap_web_backend_service_iam_member).
8293
load_balancing_scheme:
8394
name: load_balancing_scheme
8495
title: Load Balancing Scheme
@@ -125,3 +136,6 @@ spec:
125136
target_tags:
126137
name: target_tags
127138
title: Target Tags
139+
timeout_sec:
140+
name: timeout_sec
141+
title: Timeout Sec

modules/backend/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,13 +338,13 @@ spec:
338338
roles:
339339
- level: Project
340340
roles:
341-
- roles/compute.admin
342341
- roles/storage.admin
343342
- roles/run.admin
344343
- roles/compute.networkAdmin
345344
- roles/iap.admin
346345
- roles/iam.serviceAccountUser
347346
- roles/iam.serviceAccountAdmin
347+
- roles/compute.admin
348348
services:
349349
- cloudresourcemanager.googleapis.com
350350
- compute.googleapis.com

modules/dynamic_backends/metadata.display.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Google LLC
1+
# Copyright 2025 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

modules/dynamic_backends/metadata.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,13 +330,13 @@ spec:
330330
roles:
331331
- level: Project
332332
roles:
333+
- roles/storage.admin
334+
- roles/compute.admin
333335
- roles/run.admin
334336
- roles/iam.serviceAccountUser
335337
- roles/certificatemanager.owner
336338
- roles/vpcaccess.admin
337339
- roles/iam.serviceAccountAdmin
338-
- roles/storage.admin
339-
- roles/compute.admin
340340
services:
341341
- certificatemanager.googleapis.com
342342
- cloudresourcemanager.googleapis.com

modules/frontend/metadata.display.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Google LLC
1+
# Copyright 2025 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -67,6 +67,9 @@ spec:
6767
https_redirect:
6868
name: https_redirect
6969
title: Https Redirect
70+
internal_forwarding_rules_config:
71+
name: internal_forwarding_rules_config
72+
title: Internal Forwarding Rules Config
7073
ipv6_address:
7174
name: ipv6_address
7275
title: Ipv6 Address

modules/frontend/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,11 @@ spec:
246246
roles:
247247
- level: Project
248248
roles:
249-
- roles/compute.admin
250249
- roles/storage.admin
251250
- roles/iap.admin
252251
- roles/certificatemanager.owner
253252
- roles/iam.serviceAccountUser
253+
- roles/compute.admin
254254
services:
255255
- certificatemanager.googleapis.com
256256
- compute.googleapis.com

modules/serverless_negs/metadata.display.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Google LLC
1+
# Copyright 2025 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

modules/serverless_negs/metadata.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,13 +294,13 @@ spec:
294294
roles:
295295
- level: Project
296296
roles:
297-
- roles/storage.admin
298-
- roles/compute.admin
299297
- roles/run.admin
300298
- roles/iam.serviceAccountUser
301299
- roles/certificatemanager.owner
302300
- roles/vpcaccess.admin
303301
- roles/iam.serviceAccountAdmin
302+
- roles/storage.admin
303+
- roles/compute.admin
304304
services:
305305
- certificatemanager.googleapis.com
306306
- cloudresourcemanager.googleapis.com

0 commit comments

Comments
 (0)