Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add documentation for gke_hub_feature: Anthos Service Mesh #11828

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/6080.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
31 changes: 21 additions & 10 deletions website/docs/r/gke_hub_feature.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,17 @@ resource "google_gke_hub_feature" "feature" {
}
```

## Example Usage - Enable Anthos Service Mesh

```hcl
resource "google_gke_hub_feature" "feature" {
provider = google-beta

name = "servicemesh"
location = "global"
}
```

## Argument Reference

The following arguments are supported:
Expand All @@ -76,31 +87,31 @@ The following arguments are supported:
* `labels` -
(Optional)
GCP labels for this Feature.

* `name` -
(Optional)
The full, unique name of this Feature resource

* `project` -
(Optional)
The project for the resource

* `spec` -
(Optional)
Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.


The `spec` block supports:

* `multiclusteringress` -
(Optional)
Multicluster Ingress-specific spec.
The `multiclusteringress` block supports:

* `config_membership` -
(Optional)
Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar`

## Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:
Expand All @@ -109,13 +120,13 @@ In addition to the arguments listed above, the following computed attributes are

* `create_time` -
Output only. When the Feature resource was created.

* `delete_time` -
Output only. When the Feature resource was deleted.

* `update_time` -
Output only. When the Feature resource was last updated.

## Timeouts

This resource provides the following
Expand Down