-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- f35a02a185cac03b0326d4f5ed10514495b5c36f Add GKEHubFeatureMembership/GKEHubFeature samples for ser... by Config Connector Team <[email protected]> GitOrigin-RevId: f35a02a185cac03b0326d4f5ed10514495b5c36f
- Loading branch information
1 parent
1bd18b9
commit e187c54
Showing
19 changed files
with
428 additions
and
41 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
...les/resources/gkehubfeature/anthos-service-mesh-feature/gkehub_v1beta1_gkehubfeature.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,25 @@ | ||
# Copyright 2021 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
apiVersion: gkehub.cnrm.cloud.google.com/v1beta1 | ||
kind: GKEHubFeature | ||
metadata: | ||
name: gkehubfeature-sample-asm | ||
spec: | ||
projectRef: | ||
name: gkehubfeature-dep-asm | ||
location: global | ||
# The resourceID must be "servicemesh" if you want to use Anthos Service Mesh feature. | ||
resourceID: servicemesh | ||
|
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
24 changes: 24 additions & 0 deletions
24
...les/resources/gkehubfeature/anthos-service-mesh-feature/serviceusage_v1beta1_service.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,24 @@ | ||
# Copyright 2020 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
apiVersion: serviceusage.cnrm.cloud.google.com/v1beta1 | ||
kind: Service | ||
metadata: | ||
annotations: | ||
cnrm.cloud.google.com/disable-dependent-services: "false" | ||
name: gkehubfeature-dep-asm | ||
spec: | ||
resourceID: mesh.googleapis.com | ||
projectRef: | ||
name: gkehubfeature-dep-asm |
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
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
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
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
26 changes: 26 additions & 0 deletions
26
...aturemembership/config-management-feature-membership/resourcemanager_v1beta1_project.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,26 @@ | ||
# Copyright 2020 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
apiVersion: resourcemanager.cnrm.cloud.google.com/v1beta1 | ||
kind: Project | ||
metadata: | ||
name: gkehubfeaturemembership-dep-acm | ||
spec: | ||
name: Config Connector Sample | ||
organizationRef: | ||
# Replace "${ORG_ID?}" with the numeric ID for your organization | ||
external: "${ORG_ID?}" | ||
billingAccountRef: | ||
# Replace "${BILLING_ACCOUNT_ID?}" with the numeric ID for your billing account | ||
external: "${BILLING_ACCOUNT_ID?}" |
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
29 changes: 29 additions & 0 deletions
29
...featuremembership/service-mesh-feature-membership/container_v1beta1_containercluster.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,29 @@ | ||
# Copyright 2020 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
apiVersion: container.cnrm.cloud.google.com/v1beta1 | ||
kind: ContainerCluster | ||
metadata: | ||
annotations: | ||
cnrm.cloud.google.com/project-id: gkehubfeaturemembership-dep-asm | ||
labels: | ||
# Replace ${PROJECT_NUMBER?} with the number of the project once created, | ||
# this will give you access to the ASM UI in the Google Cloud Console | ||
mesh_id: proj-${PROJECT_NUMBER?} | ||
name: gkehubfeaturemembership-dep-asm | ||
spec: | ||
location: us-east4-a | ||
initialNodeCount: 1 | ||
workloadIdentityConfig: | ||
workloadPool: gkehubfeaturemembership-dep-asm.svc.id.goog |
24 changes: 24 additions & 0 deletions
24
...gkehubfeaturemembership/service-mesh-feature-membership/gkehub_v1beta1_gkehubfeature.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,24 @@ | ||
# Copyright 2021 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
apiVersion: gkehub.cnrm.cloud.google.com/v1beta1 | ||
kind: GKEHubFeature | ||
metadata: | ||
name: gkehubfeaturemembership-dep-asm | ||
spec: | ||
projectRef: | ||
name: gkehubfeaturemembership-dep-asm | ||
location: global | ||
# The resourceID must be "servicemesh" if you want to use Anthos Service Mesh feature. | ||
resourceID: servicemesh |
28 changes: 28 additions & 0 deletions
28
...uremembership/service-mesh-feature-membership/gkehub_v1beta1_gkehubfeaturemembership.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,28 @@ | ||
# Copyright 2021 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
apiVersion: gkehub.cnrm.cloud.google.com/v1beta1 | ||
kind: GKEHubFeatureMembership | ||
metadata: | ||
name: gkehubfeaturemembership-sample-asm | ||
spec: | ||
projectRef: | ||
name: gkehubfeaturemembership-dep-asm | ||
location: global | ||
membershipRef: | ||
name: gkehubfeaturemembership-dep-asm | ||
featureRef: | ||
name: gkehubfeaturemembership-dep-asm | ||
mesh: | ||
management: MANAGEMENT_AUTOMATIC |
28 changes: 28 additions & 0 deletions
28
...hubfeaturemembership/service-mesh-feature-membership/gkehub_v1beta1_gkehubmembership.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,28 @@ | ||
# Copyright 2021 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
apiVersion: gkehub.cnrm.cloud.google.com/v1beta1 | ||
kind: GKEHubMembership | ||
metadata: | ||
annotations: | ||
cnrm.cloud.google.com/project-id: gkehubfeaturemembership-dep-asm | ||
name: gkehubfeaturemembership-dep-asm | ||
spec: | ||
location: global | ||
authority: | ||
issuer: https://container.googleapis.com/v1/projects/gkehubfeaturemembership-dep-asm/locations/us-east4-a/clusters/gkehubfeaturemembership-dep-asm | ||
endpoint: | ||
gkeCluster: | ||
resourceRef: | ||
name: gkehubfeaturemembership-dep-asm |
26 changes: 26 additions & 0 deletions
26
...hubfeaturemembership/service-mesh-feature-membership/resourcemanager_v1beta1_project.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,26 @@ | ||
# Copyright 2020 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
apiVersion: resourcemanager.cnrm.cloud.google.com/v1beta1 | ||
kind: Project | ||
metadata: | ||
name: gkehubfeaturemembership-dep-asm | ||
spec: | ||
name: Config Connector Sample | ||
organizationRef: | ||
# Replace "${ORG_ID?}" with the numeric ID for your organization | ||
external: "${ORG_ID?}" | ||
billingAccountRef: | ||
# Replace "${BILLING_ACCOUNT_ID?}" with the numeric ID for your billing account | ||
external: "${BILLING_ACCOUNT_ID?}" |
24 changes: 24 additions & 0 deletions
24
...gkehubfeaturemembership/service-mesh-feature-membership/serviceusage_v1beta1_service.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,24 @@ | ||
# Copyright 2020 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
apiVersion: serviceusage.cnrm.cloud.google.com/v1beta1 | ||
kind: Service | ||
metadata: | ||
annotations: | ||
cnrm.cloud.google.com/disable-dependent-services: "false" | ||
name: gkehubfeaturemembership-dep-asm | ||
spec: | ||
resourceID: mesh.googleapis.com | ||
projectRef: | ||
name: gkehubfeaturemembership-dep-asm |
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
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
Oops, something went wrong.