-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #528 from sergenyalcin/add-v1beta2-examples
Add example manifests for v1beta2 version
- Loading branch information
Showing
206 changed files
with
9,317 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: accesscontextmanager.gcp.upbound.io/v1beta2 | ||
kind: AccessLevel | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: accesscontextmanager/v1beta2/accesslevel | ||
upjet.upbound.io/manual-intervention: Requires organization level IAM permissions | ||
labels: | ||
testing.upbound.io/example-name: access-level | ||
name: access-level | ||
spec: | ||
forProvider: | ||
basic: | ||
conditions: | ||
- devicePolicy: | ||
osConstraints: | ||
- osType: DESKTOP_CHROME_OS | ||
requireScreenLock: true | ||
regions: | ||
- CH | ||
- IT | ||
- US | ||
name: accessPolicies/${google_access_context_manager_access_policy.access-policy.name}/accessLevels/chromeos_no_lock | ||
parent: accessPolicies/${google_access_context_manager_access_policy.access-policy.name} | ||
title: chromeos_no_lock | ||
|
||
--- | ||
|
||
apiVersion: accesscontextmanager.gcp.upbound.io/v1beta1 | ||
kind: AccessPolicy | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: accesscontextmanager/v1beta2/accesslevel | ||
upjet.upbound.io/manual-intervention: Requires organization level IAM permissions | ||
labels: | ||
testing.upbound.io/example-name: access-policy | ||
name: access-policy | ||
spec: | ||
forProvider: | ||
parent: organizations/123456789 | ||
title: my policy |
90 changes: 90 additions & 0 deletions
90
examples/accesscontextmanager/v1beta2/accesslevelcondition.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: accesscontextmanager.gcp.upbound.io/v1beta2 | ||
kind: AccessLevelCondition | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: accesscontextmanager/v1beta2/accesslevelcondition | ||
upjet.upbound.io/manual-intervention: Requires organization level IAM permissions | ||
labels: | ||
testing.upbound.io/example-name: access-level-conditions | ||
name: access-level-conditions | ||
spec: | ||
forProvider: | ||
accessLevelSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: access-level-service-account | ||
devicePolicy: | ||
osConstraints: | ||
- osType: DESKTOP_CHROME_OS | ||
requireAdminApproval: false | ||
requireCorpOwned: true | ||
requireScreenLock: false | ||
ipSubnetworks: | ||
- 192.0.4.0/24 | ||
members: | ||
- user:[email protected] | ||
- user:[email protected] | ||
- serviceAccount:${google_service_account.created-later.email} | ||
negate: false | ||
regions: | ||
- IT | ||
- US | ||
|
||
--- | ||
|
||
apiVersion: accesscontextmanager.gcp.upbound.io/v1beta2 | ||
kind: AccessLevel | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: accesscontextmanager/v1beta2/accesslevelcondition | ||
upjet.upbound.io/manual-intervention: Requires organization level IAM permissions | ||
labels: | ||
testing.upbound.io/example-name: access-level-service-account | ||
name: access-level-service-account | ||
spec: | ||
forProvider: | ||
basic: | ||
conditions: | ||
- devicePolicy: | ||
osConstraints: | ||
- osType: DESKTOP_CHROME_OS | ||
requireScreenLock: true | ||
regions: | ||
- CH | ||
- IT | ||
- US | ||
name: accessPolicies/${google_access_context_manager_access_policy.access-policy.name}/accessLevels/chromeos_no_lock | ||
parent: accessPolicies/${google_access_context_manager_access_policy.access-policy.name} | ||
title: chromeos_no_lock | ||
|
||
--- | ||
|
||
apiVersion: accesscontextmanager.gcp.upbound.io/v1beta1 | ||
kind: AccessPolicy | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: accesscontextmanager/v1beta2/accesslevelcondition | ||
upjet.upbound.io/manual-intervention: Requires organization level IAM permissions | ||
labels: | ||
testing.upbound.io/example-name: access-policy | ||
name: access-policy | ||
spec: | ||
forProvider: | ||
parent: organizations/123456789 | ||
title: my policy | ||
|
||
--- | ||
|
||
apiVersion: cloudplatform.gcp.upbound.io/v1beta1 | ||
kind: ServiceAccount | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: accesscontextmanager/v1beta2/accesslevelcondition | ||
labels: | ||
testing.upbound.io/example-name: created-later | ||
name: created-later | ||
spec: | ||
forProvider: {} |
18 changes: 18 additions & 0 deletions
18
examples/accesscontextmanager/v1beta2/accesspolicyiammember.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: accesscontextmanager.gcp.upbound.io/v1beta2 | ||
kind: AccessPolicyIAMMember | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: accesscontextmanager/v1beta2/accesspolicyiammember | ||
upjet.upbound.io/manual-intervention: Requires organization level IAM permissions | ||
labels: | ||
testing.upbound.io/example-name: accesspolicy-iam-member | ||
name: accesspolicy-iam-member | ||
spec: | ||
forProvider: | ||
member: ${data.google_iam_member.member} | ||
name: ${google_access_context_manager_access_policy.access-policy.name} | ||
role: roles/viewer |
67 changes: 67 additions & 0 deletions
67
examples/accesscontextmanager/v1beta2/serviceperimeter.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: accesscontextmanager.gcp.upbound.io/v1beta2 | ||
kind: ServicePerimeter | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: accesscontextmanager/v1beta2/serviceperimeter | ||
upjet.upbound.io/manual-intervention: Requires organization level IAM permissions | ||
labels: | ||
testing.upbound.io/example-name: service-perimeter | ||
name: service-perimeter | ||
spec: | ||
forProvider: | ||
name: accessPolicies/${google_access_context_manager_access_policy.access-policy.name}/servicePerimeters/restrict_storage | ||
parent: accessPolicies/${google_access_context_manager_access_policy.access-policy.name} | ||
status: | ||
accessLevelsSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: access-level | ||
restrictedServices: | ||
- storage.googleapis.com | ||
title: restrict_storage | ||
|
||
--- | ||
|
||
apiVersion: accesscontextmanager.gcp.upbound.io/v1beta2 | ||
kind: AccessLevel | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: accesscontextmanager/v1beta2/serviceperimeter | ||
upjet.upbound.io/manual-intervention: Requires organization level IAM permissions | ||
labels: | ||
testing.upbound.io/example-name: access-level | ||
name: access-level | ||
spec: | ||
forProvider: | ||
basic: | ||
conditions: | ||
- devicePolicy: | ||
osConstraints: | ||
- osType: DESKTOP_CHROME_OS | ||
requireScreenLock: false | ||
regions: | ||
- CH | ||
- IT | ||
- US | ||
name: accessPolicies/${google_access_context_manager_access_policy.access-policy.name}/accessLevels/chromeos_no_lock | ||
parent: accessPolicies/${google_access_context_manager_access_policy.access-policy.name} | ||
title: chromeos_no_lock | ||
|
||
--- | ||
|
||
apiVersion: accesscontextmanager.gcp.upbound.io/v1beta1 | ||
kind: AccessPolicy | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: accesscontextmanager/v1beta2/serviceperimeter | ||
upjet.upbound.io/manual-intervention: Requires organization level IAM permissions | ||
labels: | ||
testing.upbound.io/example-name: access-policy | ||
name: access-policy | ||
spec: | ||
forProvider: | ||
parent: organizations/123456789 | ||
title: my policy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: alloydb.gcp.upbound.io/v1beta2 | ||
kind: Backup | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alloydb/v1beta2/backup | ||
labels: | ||
testing.upbound.io/example-name: alloydb-test | ||
name: alloydb-test | ||
spec: | ||
forProvider: | ||
clusterNameSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: alloydb-test | ||
location: us-central1 | ||
|
||
--- | ||
|
||
apiVersion: alloydb.gcp.upbound.io/v1beta2 | ||
kind: Cluster | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alloydb/v1beta2/backup | ||
labels: | ||
testing.upbound.io/example-name: alloydb-test | ||
name: alloydb-test | ||
spec: | ||
forProvider: | ||
location: us-central1 | ||
networkSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: google_compute_network | ||
|
||
--- | ||
|
||
apiVersion: alloydb.gcp.upbound.io/v1beta2 | ||
kind: Instance | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alloydb/v1beta2/backup | ||
labels: | ||
testing.upbound.io/example-name: alloydb-test | ||
name: alloydb-test | ||
spec: | ||
forProvider: | ||
clusterSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: default | ||
instanceType: PRIMARY | ||
|
||
--- | ||
|
||
apiVersion: compute.gcp.upbound.io/v1beta1 | ||
kind: GlobalAddress | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alloydb/v1beta2/backup | ||
labels: | ||
testing.upbound.io/example-name: private_ip_alloc | ||
name: private-ip-alloc-alloy | ||
spec: | ||
forProvider: | ||
addressType: INTERNAL | ||
networkSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: google_compute_network | ||
prefixLength: 16 | ||
purpose: VPC_PEERING | ||
|
||
--- | ||
|
||
apiVersion: servicenetworking.gcp.upbound.io/v1beta1 | ||
kind: Connection | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alloydb/v1beta2/backup | ||
labels: | ||
testing.upbound.io/example-name: vpc_connection | ||
name: vpc-connection | ||
spec: | ||
forProvider: | ||
networkSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: google_compute_network | ||
reservedPeeringRangesRefs: | ||
- name: private-ip-alloc-alloy | ||
service: servicenetworking.googleapis.com | ||
|
||
--- | ||
|
||
apiVersion: compute.gcp.upbound.io/v1beta1 | ||
kind: Network | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alloydb/v1beta2/backup | ||
labels: | ||
testing.upbound.io/example-name: google_compute_network | ||
name: alloydb-test-network | ||
spec: | ||
forProvider: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: alloydb.gcp.upbound.io/v1beta2 | ||
kind: Cluster | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alloydb/v1beta2/cluster | ||
labels: | ||
testing.upbound.io/example-name: alloydb-test | ||
name: alloydb-test | ||
spec: | ||
forProvider: | ||
location: us-central1 | ||
networkSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: alloydb-test | ||
|
||
--- | ||
|
||
apiVersion: compute.gcp.upbound.io/v1beta1 | ||
kind: Network | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alloydb/v1beta2/cluster | ||
labels: | ||
testing.upbound.io/example-name: alloydb-test | ||
name: alloydb-test | ||
spec: | ||
forProvider: {} |
Oops, something went wrong.